diff options
author | Jeremy Allison <jra@samba.org> | 2012-03-30 21:21:57 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-03-31 07:59:15 +0200 |
commit | 786cb132e8f27e58e3ac90889f6ea1c997441bd6 (patch) | |
tree | 264946be0ba97023265196373ea3dab5b53e6bc6 /lib/util/debug.h | |
parent | efd94d159883cb0841d8ac83223a1e63098a8d72 (diff) | |
download | samba-786cb132e8f27e58e3ac90889f6ea1c997441bd6.tar.gz samba-786cb132e8f27e58e3ac90889f6ea1c997441bd6.tar.bz2 samba-786cb132e8f27e58e3ac90889f6ea1c997441bd6.zip |
Fix an IPv6 breakage I introduced by adding an strlcpy truncation check. Found by Matthieu Patou <mat@samba.org>.
The truncate of the strlcpy() here was a *desired* side effect.
strlcpy()/strlcat() should never be used like that. Be more
explicit about the truncation and don't use strlcpy here.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Mar 31 07:59:16 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/util/debug.h')
0 files changed, 0 insertions, 0 deletions