Tuesday, June 27, 2006, 12:11:13 PM, you wrote:

>> DR> Index: pseudofs_vnops.c
>> DR> ================================================== =================
>> DR> RCS file: /home/ncvs/src/sys/fs/pseudofs/pseudofs_vnops.c,v
>> DR> retrieving revision 1.59
>> DR> diff -u -r1.59 pseudofs_vnops.c
>> DR> --- pseudofs_vnops.c 22 Feb 2006 18:57:49 -0000 1.59
>> DR> +++ pseudofs_vnops.c 24 Jun 2006 11:08:59 -0000
>> DR> @@ -515,7 +515,7 @@
>> DR> if (uio->uio_offset < 0 || uio->uio_resid < 0 ||
>> DR> (offset = uio->uio_offset) != uio->uio_offset ||
>> DR> (resid = uio->uio_resid) != uio->uio_resid ||
>> DR> - (buflen = offset + resid) < offset || buflen > INT_MAX) {
>> DR> + (buflen = offset + resid + 1) < offset || buflen > INT_MAX) {
>> DR> if (proc != NULL)
>> DR> PRELE(proc);
>> DR> PFS_RETURN (EINVAL);
>>
>> Thanks for correction. I'm from beginning said that may be I'm not
>> right.


DR> pls, can you test this one?

Ok, this working.

With best regards,
Dmitry Ganenko.

_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...ebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"