CVS update: samba/source/passdb

Simo Sorce idra at samba.org
Fri Jul 5 18:07:01 EST 2002


Tim, sizeof() is WRONG

These are allocated strings, not pstrings!
(you have a strdup just above ...)

the right thing should be strlen() in this case, IMHO,
or if we want to be picky to make a sub_advanced function been able to
realloc() if necessary (I would really like that).

Simo.

On Fri, 2002-07-05 at 08:53, Tim Potter wrote:
> 
> Date:	Thu Jul  4 23:53:17 2002
> Author:	tpot
> 
> Update of /data/cvs/samba/source/passdb
> In directory va:/tmp/cvs-serv4498
> 
> Modified Files:
>       Tag: SAMBA_2_2
> 	pdb_tdb.c 
> Log Message:
> Compile fixes for standard_sub_advanced()
> 
> 
> Revisions:
> pdb_tdb.c		1.14.2.19 => 1.14.2.20
> 	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c?r1=1.14.2.19&r2=1.14.2.20
> 
-- 
Simo Sorce
----------
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
http://www.softwarelibero.it




More information about the samba-cvs mailing list