4c99916337
Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD. |
||
---|---|---|
.. | ||
ChangeLog | ||
Makefile.am | ||
Makefile.in | ||
alloca.c | ||
basename.c | ||
error.c | ||
error.h | ||
fstrcmp.c | ||
fstrcmp.h | ||
getline.c | ||
getline.h | ||
getopt.c | ||
getopt.h | ||
getopt1.c | ||
hash.c | ||
hash.h | ||
memmove.c | ||
memset.c | ||
obstack.c | ||
obstack.h | ||
pathmax.h | ||
printf-parse.h | ||
printf-prs.c | ||
printf.h | ||
stpcpy.c | ||
stpncpy.c | ||
strcasecmp.c | ||
strcspn.c | ||
strncasecmp.c | ||
strstr.c | ||
strtol.c | ||
strtoul.c | ||
system.h | ||
vasprintf.c | ||
xgetcwd.c | ||
xmalloc.c | ||
xstrdup.c |