File format-security-fix.patch of Package burp

diff -ru burp-2.4.0.orig/src/client/monitor/status_client_ncurses.c burp-2.4.0/src/client/monitor/status_client_ncurses.c
--- burp-2.4.0.orig/src/client/monitor/status_client_ncurses.c	2021-05-02 05:15:43.000000000 +0200
+++ burp-2.4.0/src/client/monitor/status_client_ncurses.c	2023-11-15 00:03:06.979129476 +0100
@@ -347,7 +347,7 @@
 	char v[32]="";
 	snprintf(v, sizeof(v), " %s monitor %s", PACKAGE_TARNAME, VERSION);
 	print_line(v, 0-TOP_SPACE, col);
-	mvprintw(0, col-l-1, date);
+	mvprintw(0, col-l-1, "%s", date);
 }
 #endif
 
@@ -749,7 +749,10 @@
 	if(sel->client
 	  && sel->backup
 	  && (sel->logop & BU_LIVE_COUNTERS))
-		return update_screen_live_counters_w(sel, x, col);
+	{
+		update_screen_live_counters_w(sel, x, col);
+		return;
+	}
 
 	for(l=sel->llines; l; l=l->next)
 	{
openSUSE Build Service is sponsored by