Re: ac18: change in fs/read_write.c

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Wed Jun 14 2000 - 10:03:39 EST


On Wed, Jun 14, 2000 at 02:50:46PM +0100, Alan Cox wrote:
> Ok I'd like to know why its breaking stuff, and who is queueing negative
> length I/O's.
>
strace netscape:
...
socket(PF_UNIX, SOCK_STREAM, 0) = 10
...
connect(10, {sin_family=AF_UNIX, path="/tmp/.X11-unix/X0"}, 19) = 0
...
[lots of successfull socket reads/writes snipped]
...
writev(10, [{"1\0\t\0\377\377\34\0", 4294967304}, {"-*-*-*-*-*-*-*-*-*-*-*-*-*-*", 18446462624502644764}], 2) = -1 EINVAL (Invalid argument)

Same with acrobat reader:
...
writev(3, [{"1\0\r\0\1\0,\0", 18446744069414584328}, {"-*-*-medium-r-normal-*-*-*-*-*-*"..., 18446744069414584364}], 2) = -1 EINVAL (Invalid argument)

All these huge numbers have valid low 32 bits and a junk in the upper 32 bits.
Looks like the int/long bug in some lib, probably motif.

Ivan.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:31 EST