diff options
Diffstat (limited to 'dev-libs/tre/files/tre-issue37.patch')
-rw-r--r-- | dev-libs/tre/files/tre-issue37.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/tre/files/tre-issue37.patch b/dev-libs/tre/files/tre-issue37.patch new file mode 100644 index 000000000000..43b0cded7d26 --- /dev/null +++ b/dev-libs/tre/files/tre-issue37.patch @@ -0,0 +1,11 @@ +--- a/lib/tre-parse.c ++++ b/lib/tre-parse.c +@@ -1480,6 +1480,8 @@ tre_parse(tre_parse_ctx_t *ctx) + ctx->re++; + while (ctx->re_end - ctx->re >= 0) + { ++ if (i == sizeof(tmp)) ++ return REG_EBRACE; + if (ctx->re[0] == CHAR_RBRACE) + break; + if (tre_isxdigit(ctx->re[0])) |