Skip to content

grep: memory leak in PCRE2

Carlo Marcelo Arenas Belón git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3grep: make pcre1_tables version agnosticgrep.c grep.h+4 -42 replies
2/3grep: use pcre_tables also for PCRE2grep.c+2 -30 replies
3/3grep: plug leak of pcre chartables in PCRE2grep.c+1 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] grep: memory leak in PCRE2

This series fixes a small memory leak that was introduced when PCRE2 support was added, and that should be visible with t7813 and valgrind

Applies cleanly to maint and master but will conflict slightly with ab/no-kwset (currently in next) and most likely other changes introduced about this same codebase (ex: ab/pcre-jit-fixes) but hopefully the spreading on short simple commits helps with reviewing.

Carlo Marcelo Arenas Belón (3):
grep: make pcre1_tables version agnostic
grep: use pcre_tables also for PCRE2
grep: plug leak of pcre chartables in PCRE2

 grep.c | 12 ++++++------
 grep.h |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.22.0