diff options
author | jilles <jilles@FreeBSD.org> | 2015-08-23 20:44:53 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-08-23 20:44:53 +0000 |
commit | f504ca457f15fb7151537bd610d757a4d8163951 (patch) | |
tree | 7649da2c39f43e98eb79a974979a3f8d15039d3a /secure/lib/libcrypt/blowfish.h | |
parent | 9dba4c6890736d6ff29340b1a48dd5e2f99d8539 (diff) | |
download | FreeBSD-src-f504ca457f15fb7151537bd610d757a4d8163951.zip FreeBSD-src-f504ca457f15fb7151537bd610d757a4d8163951.tar.gz |
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
Diffstat (limited to 'secure/lib/libcrypt/blowfish.h')
0 files changed, 0 insertions, 0 deletions