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

Zack Weinberg
2001-06-20T02:48:57Z

On Tue, Jun 19, 2001 at 07:16:23PM -0700, David S. Miller wrote:
>
> 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.

It *has* been fixed in 2.4, though. Some sort of compatibility issue?

--
zw This APT has Super Cow Powers.
-- apt-get 0.5