diff options
author | jilles <jilles@FreeBSD.org> | 2015-09-13 13:31:51 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-09-13 13:31:51 +0000 |
commit | e646354b485aa16f77c0346625c3c2834f3b8df5 (patch) | |
tree | 2e65a8f6e516e7305812aeb63901748dc8b4bc93 /contrib/gcclibs/libcpp/pch.c | |
parent | 44b5ad695538d1ce6a4e50da128435775460329a (diff) | |
download | FreeBSD-src-e646354b485aa16f77c0346625c3c2834f3b8df5.zip FreeBSD-src-e646354b485aa16f77c0346625c3c2834f3b8df5.tar.gz |
MFC r287081: 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.
Diffstat (limited to 'contrib/gcclibs/libcpp/pch.c')
0 files changed, 0 insertions, 0 deletions