summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/njplot/files/njplot-2.3-format-security.patch')
-rw-r--r--sci-biology/njplot/files/njplot-2.3-format-security.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-biology/njplot/files/njplot-2.3-format-security.patch b/sci-biology/njplot/files/njplot-2.3-format-security.patch
new file mode 100644
index 000000000000..686b8475e9ed
--- /dev/null
+++ b/sci-biology/njplot/files/njplot-2.3-format-security.patch
@@ -0,0 +1,16 @@
+ njplot-vib.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/njplot-vib.c b/njplot-vib.c
+index fe55609..63fd3b6 100644
+--- a/njplot-vib.c
++++ b/njplot-vib.c
+@@ -1976,7 +1976,7 @@ PDFONLY" no window interface, just write the PDF/PostScript tree plot\n"
+ #else
+ fprintf(stderr,
+ #endif
+- message);
++ "%s", message);
+ exit(0);
+ }
+ }