CVS update: samba/source/smbd
Martin Pool
mbp at samba.org
Tue Jan 15 13:15:59 EST 2002
Date: Mon Jan 14 18:15:59 2002
Author: mbp
Update of /data/cvs/samba/source/smbd
In directory va:/tmp/cvs-serv26177/smbd
Modified Files:
server.c
Log Message:
Convert to the new pstring interface. This diff is a pretty good
example of the scope of change the new pstrings would entail:
basically inserting PSTR() or FSTR() everywhere you need to coerce one
to a char*.
It's also a good example of the kind of bug we might catch: on about
line 540, we were doing a pstrcpy into an fstring, which might
overflow. It's not a problem in this particular case, but it is in
general.
Revisions:
server.c 1.359 => 1.360
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/server.c?r1=1.359&r2=1.360
More information about the samba-cvs
mailing list