mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
18bc76a0c6
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.
(This used to be commit
|
||
---|---|---|
.. | ||
.cvsignore | ||
clientgen.c | ||
credentials.c | ||
namequery.c | ||
nmblib.c | ||
nterr.c | ||
passchange.c | ||
pwd_cache.c | ||
smbdes.c | ||
smbencrypt.c | ||
smberr.c | ||
unexpected.c |