CVS update: samba/source/smbd
Andrew Tridgell
tridge at samba.org
Mon Mar 27 22:38:45 EST 2000
Date: Monday March 27, 2000 @ 22:38
Author: tridge
Update of /data/cvs/samba/source/smbd
In directory samba:/tmp/cvs-serv23644
Modified Files:
trans2.c
Log Message:
changed the definition of dos_PutUniCode
the previous definition could result is us overflowing a buffer. The
null termination was always added yet the size returned did not
include the null termination.
the new function takes a BOOL null_terminate, and always returns the
total number of bytes consumed by the string.
More information about the samba-cvs
mailing list