diff options
author | 2015-09-21 10:27:01 +0200 | |
---|---|---|
committer | 2015-09-21 10:27:09 +0200 | |
commit | e250c2ce3904a745b81fe5835aff8f481740caeb (patch) | |
tree | b29b018d31c7f039e43948d397fb570899ebb7ec /app-editors/nedit/files | |
parent | net-libs/ignition-transport: Add minimal version on zeromq dep. Might fix bug... (diff) | |
download | gentoo-e250c2ce3904a745b81fe5835aff8f481740caeb.tar.gz gentoo-e250c2ce3904a745b81fe5835aff8f481740caeb.tar.bz2 gentoo-e250c2ce3904a745b81fe5835aff8f481740caeb.zip |
app-editors/nedit: Fix for format-security
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-editors/nedit/files')
-rw-r--r-- | app-editors/nedit/files/nedit-5.6-format.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-editors/nedit/files/nedit-5.6-format.patch b/app-editors/nedit/files/nedit-5.6-format.patch new file mode 100644 index 000000000000..e2d6e17a6470 --- /dev/null +++ b/app-editors/nedit/files/nedit-5.6-format.patch @@ -0,0 +1,12 @@ +diff -up nedit-5.6/source/nc.c.format nedit-5.6/source/nc.c +--- nedit-5.6/source/nc.c.format 2014-12-28 13:56:20.000000000 +0000 ++++ nedit-5.6/source/nc.c 2015-06-17 07:30:25.617032345 +0100 +@@ -503,7 +503,7 @@ static int startServer(const char *messa + + /* prompt user whether to start server */ + if (!Preferences.autoStart) { +- printf(message); ++ printf("%s", message); + do { + c = getc(stdin); + } while (c == ' ' || c == '\t'); |