mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
fix stale special collector use after free
reported by ednash and investigated by @dwfreed
This commit is contained in:
parent
6671fec9a9
commit
c554a45738
1 changed files with 0 additions and 1 deletions
|
|
@ -214,7 +214,6 @@ static void sig_print_noformat(TEXT_DEST_REC *dest, const char *text)
|
||||||
if (!scrollback_format)
|
if (!scrollback_format)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
special_push_collector(NULL);
|
|
||||||
info = store_lineinfo_tmp(dest);
|
info = store_lineinfo_tmp(dest);
|
||||||
|
|
||||||
info->format = format_rec_new(NULL, NULL, 2, (const char *[]){ NULL, text });
|
info->format = format_rec_new(NULL, NULL, 2, (const char *[]){ NULL, text });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue