diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmping/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmping/files')
-rw-r--r-- | x11-plugins/wmping/files/wmping-0.2.1-format-security.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch b/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch new file mode 100644 index 000000000000..cc9976d04ad2 --- /dev/null +++ b/x11-plugins/wmping/files/wmping-0.2.1-format-security.patch @@ -0,0 +1,38 @@ +--- wmping.c.orig 2015-08-06 15:03:32.407526918 +0200 ++++ wmping.c 2015-08-06 15:03:56.907978079 +0200 +@@ -237,7 +237,7 @@ + if(strcmp(tokens[1],"=")) + { + sprintf(str_err, "Not correct format of configuration file ( %s ): line %u", cfgfile, lineN); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + exit(-1); + } + +@@ -288,7 +288,7 @@ + else + { + sprintf(str_err, "Not correct format of configuration file ( %s ): line %u", cfgfile, lineN); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + exit(-1); + + } +@@ -297,7 +297,7 @@ + else + { + sprintf(str_err, "Error open configuration file ( %s ): %s", cfgfile, strerror(errno)); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + fprintf(stderr, "\n Create default configuration file\n"); + createDefaultCfg(cfgfile); + } +@@ -305,7 +305,7 @@ + else + { + sprintf(str_err, "Error open configuration file ( %s ): %s", cfgfile, strerror(errno)); +- fprintf(stderr, str_err); ++ fprintf(stderr, "%s", str_err); + fprintf(stderr, "\n Create default configuration file\n"); + createDefaultCfg(cfgfile); + } |