[Debichem-devel] Bug#743023: printf use variable as the first argument

Yunqiang Su wzssyqa at gmail.com
Sun Mar 30 04:38:47 UTC 2014


Package: aces3
Version: 3.0.6-7

This may be a security problem.
And it also make it ftbfs on mips64el.

This is the patch

--- a/sial/errorhl.cpp
+++ b/sial/errorhl.cpp
@@ -24,7 +24,7 @@
 {
     errors++;
     printf("\nline %d, ", line);
-    printf((const char*)outputstring);
+    printf("%s", (const char*)outputstring);
     printf("\n");
 }


-- 
Yunqiang Su



More information about the Debichem-devel mailing list