freebsd-dev/bin/sh
tegge e1851c7209 Don't check uninitialized memory for having the shell control character
value CTLARI since this might break expansion of arithmetic expressions.

Don't access memory below start of stackblock.

Problem analyzed by hunt@iprg.nokia.com, slightly different patch applied.

PR:		24443
Submitted by:	hunt@iprg.nokia.com
2001-09-19 20:16:38 +00:00
..
bltin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
funcs $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
alias.c Fixd with alias missing. 2000-07-15 14:34:37 +00:00
alias.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
arith_lex.l Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
arith.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
arith.y Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
builtins.def $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
cd.c Include strerror(errno) in error messages after failed system calls. 1999-11-29 19:11:01 +00:00
cd.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
error.c Include missing header files which define functions for which gcc has 2001-06-24 23:04:23 +00:00
error.h -Wnon-const-format sweep: make format strings const char *'s, add 2001-04-17 07:46:38 +00:00
eval.c Fix how /bin/sh handles 'for' and 'case' statements when it is called to do 2001-06-01 00:07:09 +00:00
eval.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
exec.c Fix type builtin for absolute paths and relative paths with directory 2000-08-16 12:08:02 +00:00
exec.h Fix command hash handling on 1999-12-20 13:42:59 +00:00
expand.c Don't check uninitialized memory for having the shell control character 2001-09-19 20:16:38 +00:00
expand.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
histedit.c Use PATH_MAX in preference in MAXPATHLEN. 2001-05-30 03:37:28 +00:00
init.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
input.c Include strerror(errno) in error messages after failed system calls. 1999-11-29 19:11:01 +00:00
input.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
jobs.c Fix child's SIGSTOP behaviour in scripts. 2001-02-06 10:29:34 +00:00
jobs.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
machdep.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
mail.c Add more headers that are required with -fno-builtin (stdlib and strings) 2001-06-19 15:41:57 +00:00
mail.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
main.c From submitter: 2000-08-16 10:39:43 +00:00
main.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
Makefile Improve shell documentation: 1999-09-08 15:40:46 +00:00
memalloc.c Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
memalloc.h From submitter: 2000-08-16 10:39:43 +00:00
miscbltin.c Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The 2001-07-26 11:02:39 +00:00
mkbuiltins Use secure temporary filenames during build. 2000-11-22 11:05:51 +00:00
mkinit.c Include strerror(errno) in error messages after failed system calls. 1999-11-29 19:11:01 +00:00
mknodes.c Initialize infp at main() 2001-08-13 21:55:04 +00:00
mksyntax.c Adjust some type checks to include CTLQUOTEMARK in the range of 2001-09-19 19:58:09 +00:00
mktokens Use secure temporary filenames during build. 2000-11-22 11:05:51 +00:00
myhistedit.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
mystring.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
mystring.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
nodes.c.pat $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
nodetypes Implement the <> redirection operator. 2000-10-03 23:13:14 +00:00
options.c Fix warnings, some of them serious because sh violated name 2000-04-20 09:49:16 +00:00
options.h Fix warnings, some of them serious because sh violated name 2000-04-20 09:49:16 +00:00
output.c -Wnon-const-format sweep: make format strings const char *'s, add 2001-04-17 07:46:38 +00:00
output.h -Wnon-const-format sweep: make format strings const char *'s, add 2001-04-17 07:46:38 +00:00
parser.c BASESYNTAX, DQSYNTAX, SQSYNTAX and ARISYNTAX handles negative indexes. 2001-09-19 20:07:47 +00:00
parser.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
redir.c Implement the <> redirection operator. 2000-10-03 23:13:14 +00:00
redir.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
sh.1 can not -> cannot 2001-08-08 18:32:06 +00:00
shell.h Rename the trace() function (that is build only in the -DDEBUG=2 2000-04-20 11:39:11 +00:00
show.c Implement the <> redirection operator. 2000-10-03 23:13:14 +00:00
show.h -Wnon-const-format sweep: make format strings const char *'s, add 2001-04-17 07:46:38 +00:00
TOUR $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
trap.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
trap.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
var.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
var.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00