]> git.ipfire.org Git - thirdparty/sarg.git/commit - email.c
Use a function to safely copy the strings
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 30 Oct 2011 19:04:12 +0000 (19:04 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 30 Oct 2011 19:04:12 +0000 (19:04 +0000)
commita87d4d11f67d25a2abf16adc4d411c2811856aac
tree5919ea58f6d62896f9beb7abc7a34086dabdb99c
parentbde5073dcc2e5ddd3f1fb2de08f26009cac925dc
Use a function to safely copy the strings

Some calls already used strncpy to copy strings but, now, we are using a
function to encapsulate the code and it is used to copy the arguments
passed to sarg by the user.
12 files changed:
btree_cache.c
email.c
exclude.c
getconf.c
include/defs.h
index.c
ip2name.c
log.c
sort.c
userinfo.c
usertab.c
util.c