Add a portable version of strlcpy and strlcat and convert
authorJeremy Allison <jra@samba.org>
Thu, 13 Dec 2007 03:06:04 +0000 (19:06 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 13 Dec 2007 03:06:04 +0000 (19:06 -0800)
commit48081e07a334779c765cff30dfdbdfd66fb4546b
treeb1aa0e65af9c286642c8bd255788f9ba83325ccd
parentf6b38a70aae2640fc45fc8b0bd30564197d1603d
Add a portable version of strlcpy and strlcat and convert
all strncpy/strcat calls to them.
Convert all sprintf calls to snprintf. Safety first !
Jeremy.
(This used to be commit eff2b368e891d523de38b43ced95798b74ae101e)
source3/client/mount.cifs.c