diff options
Diffstat (limited to 'dev-tex/tex4ht/files/tex4ht-format-security.patch')
-rw-r--r-- | dev-tex/tex4ht/files/tex4ht-format-security.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-tex/tex4ht/files/tex4ht-format-security.patch b/dev-tex/tex4ht/files/tex4ht-format-security.patch new file mode 100644 index 000000000000..fde075ce33d3 --- /dev/null +++ b/dev-tex/tex4ht/files/tex4ht-format-security.patch @@ -0,0 +1,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); + } + |