Why are all UNISTR2s at least MAX_BUFFERLEN long?
abartlet at pcug.org.au
Sat Apr 13 06:05:01 GMT 2002
Andrew Bartlett wrote:
> I'm trying to figure out the logic behind this patch:
> and the mimimum size of all UNISTR2 structures it imposes?
> Was this a simply typo (it looks like one) or is it becouse some areas
> of the code (used to?) assume static buffers that were a particular
At the very least the buffers need to be (len + 1), which a simple
reversal would not give - but that still doesn't answer my question...
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical