1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix stale special collector use after free

reported by ednash and investigated by @dwfreed
This commit is contained in:
Ailin Nemui 2023-03-26 23:36:41 +02:00
parent 6671fec9a9
commit c554a45738

View File

@ -214,7 +214,6 @@ static void sig_print_noformat(TEXT_DEST_REC *dest, const char *text)
if (!scrollback_format)
return;
special_push_collector(NULL);
info = store_lineinfo_tmp(dest);
info->format = format_rec_new(NULL, NULL, 2, (const char *[]){ NULL, text });