[PATCH] smbclient fails with posix large reads
abartlet at samba.org
Thu Jan 26 17:56:13 MST 2012
smbclient3 in master fails when we attempt to use the posix extensions
to read 16MB chucks at a time. Attached is a fix, which also applies to
(at least) 3.5.
I've CC'd Alex who found the issue.
The simple issue is that smb_buffer_oob fails because it is told the
incorrect packet size, not taking into account that the packet may be a
large read&X. There are lot of calls to smb_len() in the code - I
suspect this may not be the only one wrong...
Given this was for an OOB check, I wanted to run it past the list to
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1161 bytes
Desc: not available
More information about the samba-technical