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

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon May 15 10:17:14 UTC 2017


On Mon, May 15, 2017 at 10:28:25AM +0200, Peter Somogyi wrote:
> > 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.

Do you want to submit a fresh patch?

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list