mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
we probably should not try to replace replaces
Credit to OSS-Fuzz
This commit is contained in:
parent
243ae4be84
commit
126189bb37
@ -130,7 +130,7 @@ static char *theme_replace_expand(THEME_REC *theme, int index,
|
|||||||
abstract = rec->data;
|
abstract = rec->data;
|
||||||
abstract = theme_format_expand_data(theme, (const char **) &abstract,
|
abstract = theme_format_expand_data(theme, (const char **) &abstract,
|
||||||
default_fg, default_bg,
|
default_fg, default_bg,
|
||||||
last_fg, last_bg, flags);
|
last_fg, last_bg, (flags | EXPAND_FLAG_IGNORE_REPLACES));
|
||||||
ret = parse_special_string(abstract, NULL, NULL, data, NULL,
|
ret = parse_special_string(abstract, NULL, NULL, data, NULL,
|
||||||
PARSE_FLAG_ONLY_ARGS);
|
PARSE_FLAG_ONLY_ARGS);
|
||||||
g_free(abstract);
|
g_free(abstract);
|
||||||
|
Loading…
Reference in New Issue
Block a user