freebsd-skq/bin/sh
Tim J. Robbins c121fd80b8 Do not strip CTL* escapes from redirection filenames in argstr(); they
are later stripped with rmescapes() in expandarg(). If the filename has
already been unescaped, doing it again in rmescapes() can walk off the
end of the string, leading to memory corruption and eventually SIGSEGV.

Noticed by:	kris
2002-10-08 11:22:49 +00:00
..
bltin Use `The .Nm utility' 2002-04-16 20:08:06 +00:00
funcs
alias.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
alias.h o __P has been reoved 2002-02-02 06:50:57 +00:00
arith_lex.l o __P has been reoved 2002-02-02 06:50:57 +00:00
arith.h o __P has been reoved 2002-02-02 06:50:57 +00:00
arith.y o __P has been reoved 2002-02-02 06:50:57 +00:00
builtins.def Add a `bind' builtin command, which is simply a wrapper around libedit's 2002-07-23 11:50:53 +00:00
cd.c Add a -P/-o physical option which behaves similarly to bash/ksh's options 2002-07-25 10:57:39 +00:00
cd.h o __P has been reoved 2002-02-02 06:50:57 +00:00
error.c Convert the remaining callers of errmsg() to use strerror(), and remove 2002-09-29 11:37:39 +00:00
error.h Convert the remaining callers of errmsg() to use strerror(), and remove 2002-09-29 11:37:39 +00:00
eval.c Add <stdlib.h> to get a prototype for exit(). 2002-08-29 14:26:49 +00:00
eval.h Implement the P1003.2 `command' builtin command, which is used to suppress 2002-07-21 06:49:14 +00:00
exec.c Restore "not found" error message when searching for (or executing) 2002-10-01 11:48:18 +00:00
exec.h o __P has been reoved 2002-02-02 06:50:57 +00:00
expand.c Do not strip CTL* escapes from redirection filenames in argstr(); they 2002-10-08 11:22:49 +00:00
expand.h o __P has been reoved 2002-02-02 06:50:57 +00:00
histedit.c Set opterr to zero to avoid duplicate warnings from getopt(3) for unknown 2002-07-25 10:47:38 +00:00
init.h o __P has been reoved 2002-02-02 06:50:57 +00:00
input.c Avoid calling el_resize() from a signal handler, even though libedit 2002-07-24 02:06:07 +00:00
input.h o __P has been reoved 2002-02-02 06:50:57 +00:00
jobs.c Use the %t format modifier to print differences between 2002-10-01 08:40:07 +00:00
jobs.h Avoid using ints or shorts to store process id's, use pid_t instead. 2002-07-18 10:22:42 +00:00
machdep.h
mail.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
mail.h o __P has been reoved 2002-02-02 06:50:57 +00:00
main.c Remove some kind of profiling support that required the 4.2BSD monitor() 2002-10-01 01:30:33 +00:00
main.h o __P has been reoved 2002-02-02 06:50:57 +00:00
Makefile It is now safe to remove WARNS=0 and WFORMAT=0. 2002-10-01 12:12:45 +00:00
memalloc.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
memalloc.h o __P has been reoved 2002-02-02 06:50:57 +00:00
miscbltin.c - Don't use quad_t when we really mean rlim_t. 2002-10-01 11:44:38 +00:00
mkbuiltins Remove now-obsolete __STDC__ ifdefs, remove redundant NULL definition and 2002-02-18 06:08:23 +00:00
mkinit.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
mknodes.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
mksyntax.c Use %d in a printf() format string and cast the argument to int instead of 2002-10-02 09:57:54 +00:00
mktokens Minor const cleanup. 2002-06-20 05:20:50 +00:00
myhistedit.h Add a `bind' builtin command, which is simply a wrapper around libedit's 2002-07-23 11:50:53 +00:00
mystring.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
mystring.h o __P has been reoved 2002-02-02 06:50:57 +00:00
nodes.c.pat o __P has been reoved 2002-02-02 06:50:57 +00:00
nodetypes Implement the -C (-o noclobber) option, which prevents existing regular 2002-05-19 06:03:05 +00:00
options.c Consistently use FBSDID 2002-06-30 05:15:05 +00:00
options.h Add a -P/-o physical option which behaves similarly to bash/ksh's options 2002-07-25 10:57:39 +00:00
output.c Back out experimental changes to fmtstr() that I didn't mean to include 2002-10-01 13:41:13 +00:00
output.h Missing prototypes from previous commit. 2002-06-04 13:13:54 +00:00
parser.c Disallow empty condition parts of "if", "while" and "until" compound 2002-10-06 06:35:51 +00:00
parser.h o __P has been reoved 2002-02-02 06:50:57 +00:00
redir.c Remove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP. 2002-09-29 12:38:25 +00:00
redir.h o __P has been reoved 2002-02-02 06:50:57 +00:00
sh.1 There is a built-in command called "builtin"; spell its name correctly 2002-08-24 12:41:23 +00:00
shell.h Remove broken and incomplete support for old releases of System V, 2002-07-19 08:09:04 +00:00
show.c Remove dead code which supported systems without O_APPEND, O_CREAT or SIGTSTP. 2002-09-29 12:38:25 +00:00
show.h o __P has been reoved 2002-02-02 06:50:57 +00:00
TOUR
trap.c Avoid calling el_resize() from a signal handler, even though libedit 2002-07-24 02:06:07 +00:00
trap.h Avoid calling el_resize() from a signal handler, even though libedit 2002-07-24 02:06:07 +00:00
var.c Remove bits and pieces of support for atty, which was made obsolete by 2002-10-01 00:54:14 +00:00
var.h Remove bits and pieces of support for atty, which was made obsolete by 2002-10-01 00:54:14 +00:00