diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-16 07:33:54 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-16 07:34:13 -0800 |
commit | a00bedccf07e5c7e51a518a4eb97f0a4c6c65fd5 (patch) | |
tree | daa2458c0ed7f91fdb8071b635a061c252262943 /lib/regexec.c | |
parent | 5f5cd2ea2827891ccafdbe8b5305ec240aded8dc (diff) | |
download | gnulib-a00bedccf07e5c7e51a518a4eb97f0a4c6c65fd5.tar.gz |
autoupdate
Diffstat (limited to 'lib/regexec.c')
-rw-r--r-- | lib/regexec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/regexec.c b/lib/regexec.c index c3e6a5b8cb..ecb430d302 100644 --- a/lib/regexec.c +++ b/lib/regexec.c @@ -2783,8 +2783,11 @@ get_subexp (re_match_context_t *mctx, Idx bkref_node, Idx bkref_str_idx) return REG_ESPACE; err = get_subexp_sub (mctx, sub_top, sub_last, bkref_node, bkref_str_idx); + buf = (const char *) re_string_get_buffer (&mctx->input); if (err == REG_NOMATCH) continue; + if (__glibc_unlikely (err != REG_NOERROR)) + return err; } } return REG_NOERROR; |