readbraw failure debug info
Jeremy Allison
jeremy at valinux.com
Fri Aug 31 14:57:09 GMT 2001
Scott Moomaw wrote:
>
> We've tried using the new 2_2 checkin last night that changes things in
> readbraw and writebraw with the same results. I have raised the debugging
> level on a process to get confirmation of what is happening.
>
> >From the samba log file,
> [2001/08/31 09:57:09, 3, pid=7730] smbd/reply.c:reply_readbraw(2213)
> readbraw fnum=7330 start=1537977 max=3843 min=0 nread=-252
>
> Note the nread=-252 value. This should not happen, especially considering
> the code that immediately precedes that line.
>
> if (nread < mincount)
> nread = 0;
I did mention in the comment it wasn't extensively tested :-).
The next thing I was working on was adding a smbtorture test
to excersise the code....
I'm running around for some of today, I should have it fixed
up this weekend.
Jeremy.
More information about the samba-technical
mailing list