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. |
||
---|---|---|
.. | ||
alloca.c | ||
basename.c | ||
ChangeLog | ||
error.c | ||
error.h | ||
fstrcmp.c | ||
fstrcmp.h | ||
getline.c | ||
getline.h | ||
getopt1.c | ||
getopt.c | ||
getopt.h | ||
hash.c | ||
hash.h | ||
Makefile.am | ||
Makefile.in | ||
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 |