summaryrefslogtreecommitdiff
path: root/dev-tex/tex4ht/files/tex4ht-format-security.patch
blob: fde075ce33d38cd74a1da0ea8d3e86b5a9da498c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://bugs.gentoo.org/554636

--- a/src/htcmd.c
+++ b/src/htcmd.c
@@ -418,7 +418,7 @@
 #undef SEP
 #endif
 {  (IGNORED) fprintf(stderr,"--- error --- ");
-   (IGNORED) fprintf(stderr, warn_err_mssg[n]);
+   (IGNORED) fprintf(stderr, "%s", warn_err_mssg[n]);
    exit(EXIT_FAILURE);
 }
 
@@ -439,7 +439,7 @@
 #undef SEP
 #endif
 {  (IGNORED) fprintf(stderr,"--- error --- ");
-   (IGNORED) fprintf(stderr, warn_err_mssg[n]);
+   (IGNORED) fprintf(stderr, "%s", warn_err_mssg[n]);
    exit(EXIT_FAILURE);
 }