summaryrefslogtreecommitdiffstats
path: root/battlestar/command5.c
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2001-09-24 13:22:25 +0000
committerwiz <wiz@NetBSD.org>2001-09-24 13:22:25 +0000
commit190af08cf37d9e3ef84ed9e65660d702e2082d70 (patch)
treef9b4bc538372ab0488b413a86c3338354d4c1d09 /battlestar/command5.c
parentde348b6ea4939bf1e7ff2fa4ac0a319b2cf7ae51 (diff)
downloadbsdgames-darwin-190af08cf37d9e3ef84ed9e65660d702e2082d70.tar.gz
bsdgames-darwin-190af08cf37d9e3ef84ed9e65660d702e2082d70.tar.zst
bsdgames-darwin-190af08cf37d9e3ef84ed9e65660d702e2082d70.zip
va_{start,end} audit:
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.
Diffstat (limited to 'battlestar/command5.c')
0 files changed, 0 insertions, 0 deletions