[EMAIL PROTECTED] dixit:

>++             sprintf(t_var_name, "IF_%s_%i=%s", "%s", t_suffix, "%s");

This will lead to the following commit once I have the time:

--- uclibc/sprintf.c.orig
+++ uclibc/sprintf.c
@@ -foo,1 +foo,5 @@ sprintf()
 }
+
+__asm__(".section .gnu.warning.sprintf"
+   "\n .ascii \"sprintf() is often misused, consider using snprintf()\""
+   "\n .previous");

Please, haven't we learned from all the bugger overflow errors?

bye,
//mirabile
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to