NetBSD/crypto/dist/krb4/lib/roken
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
..
acconfig.h import krb4-1.1 2001-09-17 12:09:38 +00:00
acinclude.m4 import krb4-1.1 2001-09-17 12:09:38 +00:00
base64-test.c import krb4-1.1 2001-09-17 12:09:38 +00:00
base64.c import krb4-1.1 2001-09-17 12:09:38 +00:00
base64.h
bswap.c import krb4-1.1 2001-09-17 12:09:38 +00:00
ChangeLog import krb4-1.1 2001-09-17 12:09:38 +00:00
chown.c
concat.c
config.h.in import krb4-1.1 2001-09-17 12:09:38 +00:00
copyhostent.c
daemon.c
ecalloc.c import krb4-1.1 2001-09-17 12:09:38 +00:00
emalloc.c import krb4-1.1 2001-09-17 12:09:38 +00:00
environment.c import krb4-1.1 2001-09-17 12:09:38 +00:00
eread.c
erealloc.c import krb4-1.1 2001-09-17 12:09:38 +00:00
err.c
err.hin import krb4-1.1 2001-09-17 12:09:38 +00:00
errx.c
esetenv.c import krb4-1.1 2001-09-17 12:09:38 +00:00
estrdup.c import krb4-1.1 2001-09-17 12:09:38 +00:00
ewrite.c
fchown.c
flock.c
fnmatch.c
fnmatch.hin import krb4-1.1 2001-09-17 12:09:38 +00:00
freeaddrinfo.c import krb4-1.1 2001-09-17 12:09:38 +00:00
freehostent.c
gai_strerror.c import krb4-1.1 2001-09-17 12:09:38 +00:00
get_default_username.c
get_window_size.c
getaddrinfo_hostspec.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getaddrinfo-test.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getaddrinfo.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getarg.3 import krb4-1.1 2001-09-17 12:09:38 +00:00
getarg.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getarg.h import krb4-1.1 2001-09-17 12:09:38 +00:00
getcap.c
getcwd.c
getdtablesize.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getegid.c
geteuid.c
getgid.c
gethostname.c
getifaddrs.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getipnodebyaddr.c
getipnodebyname.c
getnameinfo_verified.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getnameinfo.c import krb4-1.1 2001-09-17 12:09:38 +00:00
getopt.c
getprogname.c import krb4-1.1 2001-09-17 12:09:38 +00:00
gettimeofday.c
getuid.c
getusershell.c import krb4-1.1 2001-09-17 12:09:38 +00:00
glob.c import krb4-1.1 2001-09-17 12:09:38 +00:00
glob.hin import krb4-1.1 2001-09-17 12:09:38 +00:00
h_errno.c import krb4-1.1 2001-09-17 12:09:38 +00:00
hostent_find_fqdn.c import krb4-1.1 2001-09-17 12:09:38 +00:00
hstrerror.c import krb4-1.1 2001-09-17 12:09:38 +00:00
ifaddrs.hin import krb4-1.1 2001-09-17 12:09:38 +00:00
inet_aton.c import krb4-1.1 2001-09-17 12:09:38 +00:00
inet_ntop.c import krb4-1.1 2001-09-17 12:09:38 +00:00
inet_pton.c import krb4-1.1 2001-09-17 12:09:38 +00:00
initgroups.c
innetgr.c
install-sh import krb4-1.1 2001-09-17 12:09:38 +00:00
iruserok.c import krb4-1.1 2001-09-17 12:09:38 +00:00
issuid.c import krb4-1.1 2001-09-17 12:09:38 +00:00
k_getpwnam.c
k_getpwuid.c
lstat.c
Makefile.am import krb4-1.1 2001-09-17 12:09:38 +00:00
Makefile.in import krb4-1.1 2001-09-17 12:09:38 +00:00
memmove.c
mini_inetd.c import krb4-1.1 2001-09-17 12:09:38 +00:00
missing import krb4-1.1 2001-09-17 12:09:38 +00:00
mkinstalldirs import krb4-1.1 2001-09-17 12:09:38 +00:00
mkstemp.c
net_read.c
net_write.c
parse_bytes-test.c import krb4-1.1 2001-09-17 12:09:38 +00:00
parse_bytes.c import krb4-1.1 2001-09-17 12:09:38 +00:00
parse_bytes.h import krb4-1.1 2001-09-17 12:09:38 +00:00
parse_time.c
parse_time.h
parse_units.c import krb4-1.1 2001-09-17 12:09:38 +00:00
parse_units.h import krb4-1.1 2001-09-17 12:09:38 +00:00
print_version.c import krb4-1.1 2001-09-17 12:09:38 +00:00
putenv.c import krb4-1.1 2001-09-17 12:09:38 +00:00
rcmd.c
readv.c
recvmsg.c
resolve.c import krb4-1.1 2001-09-17 12:09:38 +00:00
resolve.h import krb4-1.1 2001-09-17 12:09:38 +00:00
resource.h
roken_gethostby.c import krb4-1.1 2001-09-17 12:09:38 +00:00
roken-common.h import krb4-1.1 2001-09-17 12:09:38 +00:00
roken.awk import krb4-1.1 2001-09-17 12:09:38 +00:00
roken.h.in import krb4-1.1 2001-09-17 12:09:38 +00:00
rtbl.c import krb4-1.1 2001-09-17 12:09:38 +00:00
rtbl.h import krb4-1.1 2001-09-17 12:09:38 +00:00
sendmsg.c
setegid.c
setenv.c
seteuid.c
setprogname.c import krb4-1.1 2001-09-17 12:09:38 +00:00
signal.c import krb4-1.1 2001-09-17 12:09:38 +00:00
simple_exec.c import krb4-1.1 2001-09-17 12:09:38 +00:00
snprintf-test.c import krb4-1.1 2001-09-17 12:09:38 +00:00
snprintf-test.h import krb4-1.1 2001-09-17 12:09:38 +00:00
snprintf.c va_{start,end} audit: 2001-09-24 13:22:25 +00:00
socket.c import krb4-1.1 2001-09-17 12:09:38 +00:00
strcasecmp.c
strcollect.c import krb4-1.1 2001-09-17 12:09:38 +00:00
strdup.c
strerror.c
strftime.c import krb4-1.1 2001-09-17 12:09:38 +00:00
strlcat.c
strlcpy.c
strlwr.c
strncasecmp.c
strndup.c
strnlen.c
strpftime-test.c
strptime.c
strsep_copy.c import krb4-1.1 2001-09-17 12:09:38 +00:00
strsep.c
strtok_r.c
strupr.c
swab.c
timeval.c import krb4-1.1 2001-09-17 12:09:38 +00:00
tm2time.c
unsetenv.c
unvis.c import krb4-1.1 2001-09-17 12:09:38 +00:00
verify.c
verr.c import krb4-1.1 2001-09-17 12:09:38 +00:00
verrx.c import krb4-1.1 2001-09-17 12:09:38 +00:00
vis.c import krb4-1.1 2001-09-17 12:09:38 +00:00
vis.hin import krb4-1.1 2001-09-17 12:09:38 +00:00
vsyslog.c import krb4-1.1 2001-09-17 12:09:38 +00:00
vwarn.c import krb4-1.1 2001-09-17 12:09:38 +00:00
vwarnx.c import krb4-1.1 2001-09-17 12:09:38 +00:00
warn.c
warnerr.c import krb4-1.1 2001-09-17 12:09:38 +00:00
warnx.c
write_pid.c import krb4-1.1 2001-09-17 12:09:38 +00:00
writev.c
xdbm.h import krb4-1.1 2001-09-17 12:09:38 +00:00