aboutsummaryrefslogtreecommitdiff
path: root/posix/bug-regex36.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-10-30 10:38:36 +0100
committerAndreas Schwab <schwab@suse.de>2019-11-11 12:24:59 +0100
commitfc141ea78ee3d87c67b18488827fe2d89c9343e7 (patch)
tree1279ce8cbfa3f463a1bd628a66d9e084291b73f1 /posix/bug-regex36.c
parent2e44b10b42d68d9887ccab17b76db5d7bbae4fb6 (diff)
downloadglibc-fc141ea78ee3d87c67b18488827fe2d89c9343e7.zip
glibc-fc141ea78ee3d87c67b18488827fe2d89c9343e7.tar.gz
glibc-fc141ea78ee3d87c67b18488827fe2d89c9343e7.tar.bz2
Fix array bounds violation in regex matcher (bug 25149)
If the regex has more subexpressions than the number of elements allocated in the regmatch_t array passed to regexec then proceed_next_node may access the regmatch_t array outside its bounds. No testcase added because even without this bug it would then crash in pop_fail_stack which is bug 11053.
Diffstat (limited to 'posix/bug-regex36.c')
0 files changed, 0 insertions, 0 deletions