]> Savannah Git Hosting - gnulib.git/commitdiff
Revert previous patch, as it did not fix the bug after all.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Sep 2015 20:44:49 +0000 (13:44 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Sep 2015 20:54:20 +0000 (13:54 -0700)
ChangeLog
lib/regexec.c

index 1daec1dd89f5d839dabe573646d791c1ffbd5894..f846aac701aa5d18edfde1c28edb027c9f408453 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,5 @@
 2015-09-19  Paul Eggert  <eggert@cs.ucla.edu>
 
-       regex: fix dangling-backreference bug
-       This should fix the following bugs:
-       http://bugs.gnu.org/21513 assertion error in pop_fail_stack
-       http://bugs.gnu.org/19775 Test failing after the CVE fix
-       https://sourceware.org/bugzilla/show_bug.cgi?id=11053
-       Wrong results with backreferences
-       https://sourceware.org/bugzilla/show_bug.cgi?id=17356
-       regex assertion violation with triple backreferences
-       * lib/regexec.c (set_regs): Don't pop an empty failure stack.
-
        regex: merge patches from libc
 
        2015-09-08  Joseph Myers  <joseph@codesourcery.com>
index a0b9d392539c9908c23a7c3887d5981566931be2..db50a564abf8dc261d4112c64095ddb388768072 100644 (file)
@@ -1513,7 +1513,7 @@ set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch,
              free_fail_stack_return (fs);
              return REG_ESPACE;
            }
-         if (fs && fs->num)
+         if (fs)
            cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch,
                                       &eps_via_nodes);
          else