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. |
||
---|---|---|
.. | ||
TEST | ||
readline | ||
Makefile | ||
chared.c | ||
chared.h | ||
common.c | ||
editline.3 | ||
editrc.5 | ||
el.c | ||
el.h | ||
emacs.c | ||
hist.c | ||
hist.h | ||
histedit.h | ||
history.c | ||
key.c | ||
key.h | ||
makelist | ||
map.c | ||
map.h | ||
parse.c | ||
parse.h | ||
prompt.c | ||
prompt.h | ||
read.c | ||
readline.c | ||
refresh.c | ||
refresh.h | ||
search.c | ||
search.h | ||
shlib_version | ||
sig.c | ||
sig.h | ||
sys.h | ||
term.c | ||
term.h | ||
tokenizer.c | ||
tokenizer.h | ||
tty.c | ||
tty.h | ||
vi.c |