Andrew Bartlett wrote:
> 
> I'm trying to figure out the logic behind this patch:
> 
> 
>http://cvs.samba.org/cgi-bin/cvsweb/samba/source/rpc_parse/parse_misc.c.diff?r1=1.60&r2=1.61&f=h
> 
> 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
> length?

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

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Reply via email to