NetBSD/bin/sh
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
..
bltin
funcs
Makefile Use ${MACHINE_CPU} == "arm" to test for ARMishness. 2001-04-18 17:35:36 +00:00
TOUR
alias.c
alias.h
arith.y remove redundant declaration of yyparse, and move code to the bottom of 2001-02-04 19:51:43 +00:00
arith_lex.l
builtins.def
cd.c
cd.h
error.c
error.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
eval.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
eval.h
exec.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
exec.h
expand.c make sure we do not truncate arith expresssion > 10 digits. 2001-09-19 06:38:19 +00:00
expand.h
histedit.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
init.h
input.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
input.h
jobs.c Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
jobs.h
machdep.h
mail.c
mail.h
main.c Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
main.h
memalloc.c PR/11283: Hubert Feyrer: random memory corruption executing commands: 2000-11-01 19:56:01 +00:00
memalloc.h PR/11283: Hubert Feyrer: random memory corruption executing commands: 2000-11-01 19:56:01 +00:00
miscbltin.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
miscbltin.h
mkbuiltins
mkinit.c
mknodes.c
mksyntax.c
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c Fix command name in error message for 'sh nonexistingfile'. 2001-02-26 13:06:43 +00:00
options.h remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
output.c va_{start,end} audit: 2001-09-24 13:22:25 +00:00
output.h
parser.c PR/12533: Koji Mori: eval gets misparsed when it has a trailing semi-colon. 2001-04-03 15:00:11 +00:00
parser.h
redir.c
redir.h
sh.1 Don't xref set(1) and case(1), since they are builtins and we don't 2001-04-03 10:56:03 +00:00
shell.h
show.c
show.h
trap.c Extended functionality of the trap builtin, which now closely follows 2001-03-18 04:04:23 +00:00
trap.h
var.c remove redundant declarations and nexted externs. 2001-02-04 19:52:06 +00:00
var.h