Commit Graph

9 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
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
is 48052d04a3 Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00
mycroft 5dd823ab5d const poisoning. 1998-07-26 19:44:12 +00:00
mrg fc0b820cbd - KNF.
- check return call of several important system calls
- clean up some more cruft.
- support "rexecd -l" for extra (syslog(3)) logging.
- avoid *sprintf
1998-07-04 19:03:20 +00:00
mrg da5c78b3aa merge lite-2. WARNS?=1. 1997-10-07 10:11:29 +00:00
mrg 2a6bfcfdcf call setlogin. from pr#1292 (James Jegers <jimj@miller.cs.uwm.edu>) 1996-05-21 11:06:49 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00