NetBSD/bin/sh
christos 8e2797bc1e PR/11283: Hubert Feyrer: random memory corruption executing commands:
Fix from FreeBSD:

    growstackblock() sometimes relocates a stack_block considered empty
    without properly relocating stack marks referencing that block.
    The first call to popstackmark() with the unrelocated stack mark
    as argument then causes sh to abort.

    Relocating the relevant stack marks seems to solve this problem.

    The patch changes the semantics of popstackmark() somewhat.  It can
    only be called once after a call to setstackmark(), thus cmdloop() in
    main.c needs an extra call to setstackmark().
2000-11-01 19:56:01 +00:00
..
bltin
funcs
Makefile
TOUR
alias.c
alias.h
arith.y
arith_lex.l
builtins.def
cd.c
cd.h
error.c include <stdlib.h>, <string.h>, or whatever as appropriate to shut up 2000-07-03 03:26:17 +00:00
error.h
eval.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
eval.h
exec.c handle type command on names that contain slashes, and print a : in the not 2000-11-01 19:21:41 +00:00
exec.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
expand.c
expand.h
histedit.c
init.h
input.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
input.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
jobs.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
jobs.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
machdep.h
mail.c include <stdlib.h>, <string.h>, or whatever as appropriate to shut up 2000-07-03 03:26:17 +00:00
mail.h
main.c PR/11283: Hubert Feyrer: random memory corruption executing commands: 2000-11-01 19:56:01 +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
miscbltin.h
mkbuiltins
mkinit.c host program portability: don't use <sys/cdefs.h>, __COPYRIGHT(), 2000-07-18 19:13:20 +00:00
mknodes.c host program portability: set infp to stdin at runtime, since apparently 2000-07-27 04:06:49 +00:00
mksyntax.c host program portability: don't use <sys/cdefs.h>, __COPYRIGHT(), 2000-07-18 19:13:20 +00:00
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c
options.h
output.c
output.h
parser.c un-__P functions declared in parser.h. host programs include parser.h, 2000-07-27 04:09:27 +00:00
parser.h un-__P functions declared in parser.h. host programs include parser.h, 2000-07-27 04:09:27 +00:00
redir.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
redir.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
sh.1 .Bl takes parameter "-offset indent", not "-indent". 2000-09-21 21:04:56 +00:00
shell.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
show.c
show.h
trap.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
trap.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
var.c Back out previous vfork changes. 2000-05-22 10:18:46 +00:00
var.h Back out previous vfork changes. 2000-05-22 10:18:46 +00:00