[PATCH][SMB1] SMB_INFO_ALLOC return UINT_MAX rather than cut at 4-byte

Peter Somogyi PSOMOGYI at hu.ibm.com
Fri May 12 13:51:30 UTC 2017


Hi,

Please accept this trivial patch that fixes allocation info query for an 
AIX client (df command returning weird values).
Easy to reproduce by executing smbtorture raw.qfsinfo (with > 4 TB on the 
server side) + capturing a network trace to see the wrong values.
Changing the 'block size' param might be a workaround, but not the 
preferred solution.



--
Peter Somogyi
IBM Magyarországi Kft.
1117 Budapest
Infopark, Neumann János u. 1.
Hungary
Phone: +36 1 382 5469

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SMB_INFO_ALLOCATION-return-with-UINT32_MAX-rather-th.patch
Type: application/octet-stream
Size: 1259 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170512/1bd47ad4/0001-SMB_INFO_ALLOCATION-return-with-UINT32_MAX-rather-th.obj>


More information about the samba-technical mailing list