CVS update: samba/source/passdb
abartlet at samba.org
abartlet at samba.org
Wed Jan 2 20:02:29 EST 2002
Date: Wed Jan 2 01:02:29 2002
Author: abartlet
Update of /data/cvs/samba/source/passdb
In directory va:/tmp/cvs-serv9966/passdb
Modified Files:
passdb.c
Log Message:
We go to a lot of effort to avoid strcpy() in Samba, but its not much use if
people start doing using strlen(src) in strncpy() :-)
This occured when the talloc based passdb was reverted in favor of a pstring
based one. In the talloc version this was fine, becouse the buffer was
strlen(src) bytes long. This no longer applies...
This doesn't seem to have broken anything, but I'm chasing up an oddity with NT
password changing from the last merge.
Test & MERGE for 2.2.3
Andrew Bartlett
Revisions:
passdb.c 1.131 => 1.132
http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/passdb.c?r1=1.131&r2=1.132
More information about the samba-cvs
mailing list