diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-12 22:11:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-12 22:11:24 +0000 |
commit | ee9a61841ac10d32d869a3893bc690c66f2bb1bb (patch) | |
tree | 451b75c7fd0b01a97dd9ef1285160d09c3a7d6c7 /source3/utils | |
parent | 785d23c6cb1f79dfc3e7db7b39e5ee51739ac737 (diff) | |
download | samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.tar.gz samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.tar.bz2 samba-ee9a61841ac10d32d869a3893bc690c66f2bb1bb.zip |
includes.h: SunOS doesn't have strcasecmp, solaris versions prior to 2.6 don't
have vsnprintf.
locking_slow.c: slight tidy.
make_smbcodepage.c: Use safe_strcpy instead of pstrcpy.
nmbd_winsserver.c: Use pstrcpy instead of fstrcpy.
smbmount.c: Fixed reported bug.
util.c: Removed old fstrcpy/fstrcat functions.
Jeremy.
(This used to be commit f257d2e4bafd3944cca737699913a8d868279ca6)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/make_smbcodepage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/make_smbcodepage.c b/source3/utils/make_smbcodepage.c index ce45a7bc60..b0970a7d25 100644 --- a/source3/utils/make_smbcodepage.c +++ b/source3/utils/make_smbcodepage.c @@ -94,7 +94,7 @@ int clean_data( char **buf, uint32 *size) if(*cp == '\0') continue; - pstrcpy(newbuf_p, cp); + safe_strcpy(newbuf_p, cp, *size - (newbuf_p - newbuf)); num_lines++; newbuf_p += (strlen(newbuf_p) + 1); } |