summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-13-delete.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-03-30 21:21:57 -0700
committerJeremy Allison <jra@samba.org>2012-03-31 07:59:15 +0200
commit786cb132e8f27e58e3ac90889f6ea1c997441bd6 (patch)
tree264946be0ba97023265196373ea3dab5b53e6bc6 /lib/tdb2/test/api-13-delete.c
parentefd94d159883cb0841d8ac83223a1e63098a8d72 (diff)
downloadsamba-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/tdb2/test/api-13-delete.c')
0 files changed, 0 insertions, 0 deletions