CVS update: samba/source/smbd

Simo Sorce simo.sorce at xsec.it
Fri Jul 19 08:16:03 EST 2002


There is unnecessary extra check on lenght:

If the len is not beetween 8 and 12 we already return, so no extra check
needed later!


On Thu, 2002-07-18 at 21:12, Jeremy Allison wrote:
> 
> Date:	Thu Jul 18 12:12:46 2002
> Author:	jra
> 
> Update of /data/cvs/samba/source/smbd
> In directory va:/tmp/cvs-serv6224/smbd
> 
> Modified Files:
>       Tag: APPLIANCE_HEAD
> 	mangle_hash2.c 
> Log Message:
> We have to look at the length before checking for "~" as the string
> may be shorter than 6 chars. Caught by valgrind.
> Jeremy.
> 
> 
> Revisions:
> mangle_hash2.c		1.13.4.1 => 1.13.4.2
> 	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/mangle_hash2.c?r1=1.13.4.1&r2=1.13.4.2
> 
-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-cvs/attachments/20020719/12cb125c/attachment.bin


More information about the samba-cvs mailing list