[U-Boot] Discussion topics / issues
Wolfgang Denk
wd at denx.de
Sat Oct 11 17:16:14 CEST 2014
Dear Jeroen,
In message <20141011150346.150C038352A at gemini.denx.de> i wrote:
>
> Which is "better"? A is obviously much shorter and more elegant; but
> B is much more robust - A will happily crash your system when you try
> to print a string like "s%s%s%s%s%s%s%s%s%s%s" (not to mention that
> this may open a classic attack vector to break into a running system).
Ignore me. This example was obviously crap. What I had in mind was
something where you would use
char *s;
...
printf(s);
Sorry...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Documentation is like sex: when it is good, it is very, very good;
and when it is bad, it is better than nothing. - Dick Brandon
More information about the U-Boot
mailing list