diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-03-30 08:12:46 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-03-30 08:12:46 +0300 |
commit | 57f489237eb80330c8faabfdd1185ec49f6445c9 (patch) | |
tree | b0cc43c12d910583609969cce10168df247b00bd /main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch | |
parent | 19f7af080eae7ad7d4b2f0f43fb4532cbcf30e70 (diff) | |
download | aports-57f489237eb80330c8faabfdd1185ec49f6445c9.tar.bz2 aports-57f489237eb80330c8faabfdd1185ec49f6445c9.tar.xz |
main/musl: upgrade to 1.1.8
We already had patched for CVE-2015-1817, but this release has couple
of additional important bug fixes.
Diffstat (limited to 'main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch')
-rw-r--r-- | main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch b/main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch deleted file mode 100644 index 6fb421728b..0000000000 --- a/main/musl/0002-suppress-backref-processing-in-ERE-regcomp.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 7c8c86f6308c7e0816b9638465a5917b12159e8f Mon Sep 17 00:00:00 2001 -From: Rich Felker <dalias@aerifal.cx> -Date: Fri, 20 Mar 2015 18:25:01 -0400 -Subject: [PATCH] suppress backref processing in ERE regcomp - -one of the features of ERE is that it's actually a regular language -and does not admit expressions which cannot be matched in linear time. -introduction of \n backref support into regcomp's ERE parsing was -unintentional. ---- - src/regex/regcomp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c -index bce6bc1..4d80cb1 100644 ---- a/src/regex/regcomp.c -+++ b/src/regex/regcomp.c -@@ -839,7 +839,7 @@ static reg_errcode_t parse_atom(tre_parse_ctx_t *ctx, const char *s) - s--; - break; - default: -- if (isdigit(*s)) { -+ if (!ere && isdigit(*s)) { - /* back reference */ - int val = *s - '0'; - node = tre_ast_new_literal(ctx->mem, BACKREF, val, ctx->position); --- -2.3.3 - |