[Bug regex/11053] Wrong results with backreferences

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Bug regex/11053] Wrong results with backreferences

glaubitz at physik dot fu-berlin.de

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andreas Schwab <[hidden email]>:


commit fc141ea78ee3d87c67b18488827fe2d89c9343e7
Author: Andreas Schwab <[hidden email]>
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.

You are receiving this mail because:
You are on the CC list for the bug.