Skip to content

Fix bugs for invalid regex input

Zdenek Kabelac lvm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Display errornous pattern to the userlib/filters/filter-regex.c+2 -21 reply
1/3Display errornous pattern to the user+0 -02 replies
2/3Release allocated pools in error pathlib/commands/toolcontext.c+7 -21 reply
3/3Fix internal error for errornous regex insertlib/cache/lvmcache.c+4 -41 reply

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] Fix bugs for invalid regex input

This small patchset fixes error messages shown to the user, when he makes a mistake in regex input.

Zdenek Kabelac (3):
Display errornous pattern to the user
Release allocated pools in error path
Fix internal error for errornous regex insert

 lib/cache/lvmcache.c       |    8 ++++----
 lib/commands/toolcontext.c |    9 +++++++--
 lib/filters/filter-regex.c |    4 ++--
 3 files changed, 13 insertions(+), 8 deletions(-)