Re: 2.2 PATCH: check return from copy_*_user in fs/pipe.c

From: David S. Miller (davem@redhat.com)
Date: Tue Jun 19 2001 - 21:16:23 EST


Zack Weinberg writes:
> The anonymous pipe code in 2.2 does not check the return value of
> copy_*_user. This can lead to silent loss of data.

I remember Andrew Tridgell (cc:'d) spotting this a long time
ago, and we didn't fix it, and I forget what the reason was.

Andrew?

Later,
David S. Miller
davem@redhat.com
-
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 23 2001 - 21:00:26 EST