Re: [PATCH] binfmt_misc.c, kernel-2.4.12

Alexander Viro (viro@math.psu.edu)
Fri, 19 Oct 2001 08:54:44 -0400 (EDT)


On Fri, 19 Oct 2001, Albert Bartoszko wrote:

> Hello
>
> I find bug in binfmt_misc.c from kernel 2.4.12 source. The read() syscal

only one?

> return bad value, causes some application SIGSEGV.

Hardly a surprise. Not everything that passes compiler is valid C.
Stuff in fs/binfmt_misc.c from Linus' tree isn't. Pick one from -ac
+ corresponding change in fs/proc/root.c (again, see -ac). Variant
in Linus' tree is complete crap.

<goes back to sleep>

-
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/