This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
ale/ale-0.9.0.3-format-security.patch
Hubbitus 419c693e8c - ImageMagick 6.8.8.10-3 rebuild.
- Apply patch Patch1: ale-0.9.0.3-format-security.patch to build with -Werror=format-security" flag used in rawhide (bz#1036985)
- Fix bogus dates in changelog.
2014-04-13 16:42:57 +04:00

33 lines
1.2 KiB
Diff

--- a/ui/implication.h
+++ a/ui/implication.h
@@ -33,16 +33,16 @@ public:
static void changed(const char *description, const char *changes, const char *option = NULL) {
fprintf(stderr, "\n\n");
fprintf(stderr, "Program options have been automatically modified to satisfy the following:\n\n");
- fprintf(stderr, description);
+ fprintf(stderr, "%s", description);
fprintf(stderr, "\n\n");
fprintf(stderr, "Changes are as follows:\n\n");
- fprintf(stderr, changes);
+ fprintf(stderr, "%s", changes);
fprintf(stderr, "\n\n");
if (option) {
fprintf(stderr, "This is equivalent to manually setting the following options:\n\n");
- fprintf(stderr, option);
+ fprintf(stderr, "%s", option);
fprintf(stderr, "\n\n");
}
}
--- a/ui/unsupported.h
+++ a/ui/unsupported.h
@@ -32,7 +32,7 @@ public:
static void fornow(const char *description) {
fprintf(stderr, "\n\n");
fprintf(stderr, "The following feature is currently unsupported:\n\n");
- fprintf(stderr, description);
+ fprintf(stderr, "%s", description);
fprintf(stderr, "\n\n");
#if 0
fprintf(stderr, "For more information, see http://auricle.dyndns.org/ALE/unsupported/currently/\n\n");