Why are all UNISTR2s at least MAX_BUFFERLEN long?
abartlet at pcug.org.au
Sat Apr 13 05:30:02 GMT 2002
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
In that case, who is writing to those strings? My impression is that
they are 'read-only', and that most of the code pulls them into 'unix'
strings before messing with them.
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