mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-31 05:41:38 +00:00
Fix variable suppression name_not_regex.
Kernel symbol whitelisting symbol is implemented using a regex to suppress all function and variable names that don't match the given list. This was completely broken for variables, resulting in all variables being filtered out if a kernel whitelist was specified. * src/abg-suppression-priv.h: In get_symbol_name_not_regex method of variable_suppression::priv, fix typo causing miscompilation of regex. Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
parent
254cafb7d7
commit
9e5ca9c074
@ -680,7 +680,7 @@ struct variable_suppression::priv
|
||||
{
|
||||
sptr_utils::regex_t_sptr r = sptr_utils::build_sptr<regex_t>();
|
||||
if (regcomp(r.get(), symbol_name_not_regex_str_.c_str(),
|
||||
REG_EXTENDED == 0) == 0)
|
||||
REG_EXTENDED) == 0)
|
||||
symbol_name_not_regex_ = r;
|
||||
}
|
||||
return symbol_name_not_regex_;
|
||||
|
Loading…
Reference in New Issue
Block a user