summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/gnuit/files')
-rw-r--r--app-misc/gnuit/files/gnuit-4.9.5-format-security.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch b/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch
new file mode 100644
index 00000000000..ec2a1c51fdb
--- /dev/null
+++ b/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch
@@ -0,0 +1,16 @@
+ src/git.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/git.c b/src/git.c
+index c6040b2..595912d 100644
+--- a/src/git.c
++++ b/src/git.c
+@@ -1917,7 +1917,7 @@ main(argc, argv)
+ printf("%s %s (%s)\n", PRODUCT, VERSION, HOST);
+ #endif /* !HAVE_GCC */
+
+- printf(copyright);
++ printf("%s", copyright);
+
+ #ifdef DEBIAN
+ add_to_environment("GIT_EDITOR", "EDITOR", "sensible-editor");