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. |
||
---|---|---|
.. | ||
Makefile | ||
assorted.c | ||
display.h | ||
dr_1.c | ||
dr_2.c | ||
dr_3.c | ||
dr_4.c | ||
dr_5.c | ||
dr_main.c | ||
driver.h | ||
extern.h | ||
game.c | ||
globals.c | ||
lo_main.c | ||
machdep.h | ||
main.c | ||
misc.c | ||
parties.c | ||
pathnames.h | ||
pl_1.c | ||
pl_2.c | ||
pl_3.c | ||
pl_4.c | ||
pl_5.c | ||
pl_6.c | ||
pl_7.c | ||
pl_main.c | ||
player.h | ||
restart.h | ||
sail.6 | ||
sync.c | ||
version.c |