]> jfr.im git - irc/irssi/irssi.git/commitdiff
fix stale special collector use after free
authorAilin Nemui <redacted>
Sun, 26 Mar 2023 21:36:41 +0000 (23:36 +0200)
committerAilin Nemui <redacted>
Sun, 26 Mar 2023 21:37:12 +0000 (23:37 +0200)
reported by ednash and investigated by @dwfreed

src/fe-text/textbuffer-formats.c

index 1de8c1201d9ac7040377456b5316186f737065cd..bbf9f229e8469f3dbce1284612d6a1ff99861bc2 100644 (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 });