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

Peter Somogyi PSOMOGYI at hu.ibm.com
Mon May 15 08:28:25 UTC 2017


> dsize = MIN(dsize, UINT32_MAX);
> dfree = MIN(dfree, UINT32_MAX);
>
> has a few lines less. What do you think?

Sure, much nicer !
Just retested and no warning or functional issue.

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



More information about the samba-technical mailing list