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

Zack Weinberg (zackw@Stanford.EDU)
Tue, 19 Jun 2001 19:48:27 -0700


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