Description: fix issues in source code
Author: Bart Martens <bartm@debian.org>
Last-Update: 2011-10-03
Index: ale-0.9.0.3/ui/implication.h
===================================================================
--- ale-0.9.0.3.orig/ui/implication.h
+++ ale-0.9.0.3/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");
 		}
 	}
Index: ale-0.9.0.3/ui/unsupported.h
===================================================================
--- ale-0.9.0.3.orig/ui/unsupported.h
+++ ale-0.9.0.3/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");
