Re: BIG PROBLEM

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Thu Jun 28 2001 - 16:46:59 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:20 EST