Re: BIG PROBLEM

Ralf Baechle (ralf@uni-koblenz.de)
Thu, 28 Jun 2001 23:46:59 +0200


On Thu, Jun 28, 2001 at 05:35:14PM -0400, Ryan W. Maple wrote:

> Check out: http://bugs.debian.org/85478
>
> "When klogd's LogLine() function encounters a null byte in state
> PARSING_TEXT, it will loop infinitely. More precisely, copyin()
> will treat the null byte as a delimiter - unlike LogLine(), which
> will invoke copyin() ever and ever again."
>
> Kinda off-topic, but I just wanted to prove that the bug was in klogd and
> not the kernel. :)

The kernel definately shouldn't communicate with the user using NUL chars.

Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/