From 4113a072c2cfeed70f94629d23c24164524df888 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 27 Apr 2024 14:41:08 +0200 Subject: [PATCH] Make sure to reset tainted state --- src/print.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/print.h b/src/print.h index f20d173..dd65393 100644 --- a/src/print.h +++ b/src/print.h @@ -77,6 +77,7 @@ extern char ansi_format[]; fprintf (stdout, "\r[%s] Warning: " format "\r\n", timestamp_current_time(), ## args); \ else \ ansi_printf("[%s] Warning: " format, timestamp_current_time(), ## args); \ + print_tainted = false; \ } \ } @@ -90,6 +91,7 @@ extern char ansi_format[]; fprintf (stdout, "\r[%s] Error: " format "\r\n", timestamp_current_time(), ## args); \ else \ ansi_printf("[%s] Error: " format, timestamp_current_time(), ## args); \ + print_tainted = false; \ } \ }