Commit Graph

12 Commits

Author SHA1 Message Date
wiz 4c99916337 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.
2001-09-24 13:22:25 +00:00
itojun 2b18b04c59 updated copyright notice from Xerox. via openbsd 2001-08-01 16:45:28 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
augustss 9bd605c103 Make it compile after format string changes. 2000-10-12 06:03:32 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mrg 5b9ccc383d use destination's size in 2 memcpy calls. 1998-07-04 21:31:59 +00:00
kleink 37bede84a4 Use strerror(3) instead of sys_errlist and sys_nerr. 1998-05-09 17:22:07 +00:00
lukem 25a12a5eab WARNSify 1997-10-17 11:18:10 +00:00
mycroft 3d8d046845 Update to mrouted 3.8. 1995-12-10 10:57:11 +00:00
thorpej f335667d4d New-style RCS ids. 1995-10-03 23:16:47 +00:00
cgd 10603feb51 needs string.h 1995-06-07 17:38:35 +00:00
mycroft bf70a55f72 Update to multicast 3.5. 1995-06-01 05:19:10 +00:00