mirror of
git://sourceware.org/git/lvm2.git
synced 2025-05-12 14:50:39 +03:00
Fix error path if regex engine cannot be created in _build_matcher().
Fix only 'stack' printing with full function error exit.
This commit is contained in:
parent
9b30dfb967
commit
9376ec18cd
@ -1,5 +1,6 @@
|
||||
Version 2.02.79 -
|
||||
===================================
|
||||
Fix error path if regex engine cannot be created in _build_matcher().
|
||||
Use char* arithmetic in target_version(), _process_all(), _targets().
|
||||
Fixing const cast gcc warnings in the code.
|
||||
Check read() and close() results in _get_cmdline().
|
||||
|
@ -137,7 +137,7 @@ static int _build_matcher(struct rfilter *rf, const struct config_value *val)
|
||||
*/
|
||||
if (!(rf->engine = dm_regex_create(rf->mem, (const char **) regex,
|
||||
count)))
|
||||
stack;
|
||||
goto_out;
|
||||
r = 1;
|
||||
|
||||
out:
|
||||
|
Loading…
x
Reference in New Issue
Block a user