summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-09-13 13:58:46 +0000
committerjilles <jilles@FreeBSD.org>2015-09-13 13:58:46 +0000
commit4c6f14a861a3f125cf0a54644a95aaa138e549db (patch)
treefd23eeaf39e5fc47af49dbefaf2a9ee7712c07ed /contrib/gcclibs/libcpp
parent4918e13c30a266fdc74a5df487939a8cea9745fb (diff)
downloadFreeBSD-src-4c6f14a861a3f125cf0a54644a95aaa138e549db.zip
FreeBSD-src-4c6f14a861a3f125cf0a54644a95aaa138e549db.tar.gz
MFC r287148: sh: Fix out of bounds read when there is no ] after a [:class:].
The initial check for a matching ] was incorrect if a ] may be consumed by a [:class:]. The subsequent loop assumed that there must be a ]. Remove the initial check and make the loop cope with a missing ]. Found with afl-fuzz.
Diffstat (limited to 'contrib/gcclibs/libcpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud