freebsd-nq/bin/sh/tests/errors
Jilles Tjoelker d0b0ac182d sh: Don't create bad parse result when postponing a bad substitution error.
An invalid substitution like ${var@} does not cause a parse error but is
stored in the intermediate representation, to be written as part of the
error message. If there is a CTL* byte in the stored part, this confuses
some code such as the code to skip an unused alternative such as in
${var-alternative}.

To keep things simple, do not store CTL* bytes.

Found with afl-fuzz.

MFC after:	1 week
2015-08-23 20:44:53 +00:00
..
assignment-error1.0
assignment-error2.0
backquote-error1.0
backquote-error2.0
bad-binary1.126
bad-keyword1.0
bad-parm-exp1.0
bad-parm-exp2.2 sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp2.2.stderr sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp3.2 sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp3.2.stderr sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp4.2 sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp4.2.stderr sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp5.2 sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp5.2.stderr sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp6.2 sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp6.2.stderr sh: Don't hardcode relative paths in the tests stderr files. 2014-08-17 14:26:12 +00:00
bad-parm-exp7.0 sh: Don't create bad parse result when postponing a bad substitution error. 2015-08-23 20:44:53 +00:00
bad-parm-exp8.0 sh: Don't create bad parse result when postponing a bad substitution error. 2015-08-23 20:44:53 +00:00
Makefile sh: Don't create bad parse result when postponing a bad substitution error. 2015-08-23 20:44:53 +00:00
option-error.0
redirection-error2.2
redirection-error3.0
redirection-error4.0
redirection-error5.0
redirection-error6.0
redirection-error7.0
redirection-error.0
write-error1.0