commit fc141ea78ee3d87c67b18488827fe2d89c9343e7
Author: Andreas Schwab <email address hidden>
Date: Wed Oct 30 10:38:36 2019 +0100
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.
The master branch has been updated by Andreas Schwab <email address hidden>:
https:/ /sourceware. org/git/ gitweb. cgi?p=glibc. git;h=fc141ea78 ee3d87c67b18488 827fe2d89c9343e 7
commit fc141ea78ee3d87 c67b18488827fe2 d89c9343e7
Author: Andreas Schwab <email address hidden>
Date: Wed Oct 30 10:38:36 2019 +0100
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.