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

David S. Miller (davem@redhat.com)
Tue, 19 Jun 2001 19:16:23 -0700 (PDT)


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/