Bugtraq mailing list archives

Re: Fwd: Any user can panic OpenBSD machine


From: chris () CYBERNET CO NZ (Chris Wedgwood)
Date: Tue, 28 Jul 1998 14:09:53 +1200


On Tue, Jul 28, 1998 at 10:57:52AM +0900, Scott Stone wrote:

it returns EINVAL on NetBSD - Linux's behavior could well be different.

I wasn't very clear.

Yes, EINVAL is returned by NetBSD - but this is a bug itself. The API uses
unsigned lengths, so -1 isn't a bogus value (well, perhaps it is actually,
if you consider the fact that buffer_start + 0xFFFFFFFFul) >= process space
end address, then EINVAL is legitimate).


-cw



Current thread: