Fix . Taken from this upstream commit, sans ChangeLog updates: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=583dd860d5b833037175247230a328f0050dbfe9 diff --git a/posix/regexec.c b/posix/regexec.c index 91d5a797b8..084b1222d9 100644 --- a/posix/regexec.c +++ b/posix/regexec.c @@ -1293,8 +1293,10 @@ proceed_next_node (const re_match_context_t *mctx, Idx nregs, regmatch_t *regs, else if (naccepted) { char *buf = (char *) re_string_get_buffer (&mctx->input); - if (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, - naccepted) != 0) + if (mctx->input.valid_len - *pidx < naccepted + || (memcmp (buf + regs[subexp_idx].rm_so, buf + *pidx, + naccepted) + != 0)) return -1; } } ripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/gnu-maintenance.scm
AgeCommit message (Expand)Author
2023-09-27tests: ‘rewrite-url’ test no longer depends on network access....Ludovic Courtès
2023-08-26gnu-maintenance: Consider Qt source tarballs as "release files"....Maxim Cournoyer
2023-08-26gnu-maintenance: Add support to rewrite version in URL path....Maxim Cournoyer
2023-01-02tests: Fix gnu-maintenance tests....Hartmut Goebel
2022-11-11gnu-maintenance: 'release-file?' excludes "valgrind-3.20.0.RC1.tar.bz2"....Ludovic Courtès
2022-09-26gnu-maintenance: Test latest-html-release....Maxime Devos
2022-09-17gnu-maintenance: Support // URLs in latest-html-release....Maxime Devos
2021-05-28gnu-maintenance: 'release-file?' accepts 'v' prefix as in "PKG-v1.2.tgz"....Ludovic Courtès
2021-04-05gnu-maintenance: Recognize more source tarball naming schemes....Ludovic Courtès
2021-03-29gnu-maintenance: Recognize "-source" tarball suffix....Ludovic Courtès
2021-03-20gnu-maintenance: Accept underscores as package/version separators....Ludovic Courtès