diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-editors/ee/files/ee-Wformat-security.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-editors/ee/files/ee-Wformat-security.patch')
-rw-r--r-- | app-editors/ee/files/ee-Wformat-security.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-editors/ee/files/ee-Wformat-security.patch b/app-editors/ee/files/ee-Wformat-security.patch new file mode 100644 index 000000000000..6db64188347a --- /dev/null +++ b/app-editors/ee/files/ee-Wformat-security.patch @@ -0,0 +1,28 @@ +--- a/ee.c ++++ b/ee.c +@@ -2105,11 +2105,11 @@ + } + else if (!strcmp("-?", buff)) + { +- fprintf(stderr, usage0, arguments[0]); +- fprintf(stderr, usage1); +- fprintf(stderr, usage2); +- fprintf(stderr, usage3); +- fprintf(stderr, usage4); ++ fprintf(stderr, "%s", usage0, arguments[0]); ++ fprintf(stderr, "%s", usage1); ++ fprintf(stderr, "%s", usage2); ++ fprintf(stderr, "%s", usage3); ++ fprintf(stderr, "%s", usage4); + exit(1); + } + else if ((*buff == '+') && (start_at_line == NULL)) +@@ -3243,7 +3243,7 @@ + } + if (shell_fork) + { +- printf(continue_msg); ++ printf("%s", continue_msg); + fflush(stdout); + while ((in = getchar()) != '\n') + ; |