summarylogtreecommitdiffstats
path: root/tiptop-2.3.1--format-security.patch
blob: c6e2262bdf15ab68b255638873f60b7cf3cdf72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --unified --recursive --text tiptop-2.3.1/src/helpwin.c tiptop-2.3.1.new/src/helpwin.c
--- tiptop-2.3.1/src/helpwin.c	2017-10-08 08:24:46.000000000 +0000
+++ tiptop-2.3.1.new/src/helpwin.c	2022-11-20 16:51:24.471470084 +0000
@@ -61,7 +61,7 @@
     wattroff(win, A_REVERSE);
 
   /* screen description */
-  mvwprintw(win, 2, 1, screen->desc);
+  mvwprintw(win, 2, 1, "%s", screen->desc);
 
   /* max size of column headers */
   for(i = 0; i < n; i++) {