[U-Boot] [PATCH 0/4] Buffer overruns in printf

Wolfgang Denk wd at denx.de
Mon Sep 26 20:36:35 CEST 2011


Dear Simon Glass,

In message <CAPnjgZ0y_TWJ4ANEXekGxNpeoJHhkth7hod_3Quu2HVcS=1wHA at mail.gmail.com> you wrote:
> 
> For sprintf() I agree - this is well understood and people are aware
> of it. For printf() I am not so sure.

We are a resource limited boot loader.  We got for a small footprint,
and accept some resulting restrictions, if they are not really severe.
THe printf() restriction has not exactly frequently popped up before,
so I consider it a non-issue.

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
Once upon a time, "PC" meant "personal computer".  Now  it  seems  to
only  mean  "Prisoner  of Bill". Alas! All my PCs run Unix, and those
include Intel, Sparc, and other processors.
          -- Tom "Bring back the non-PC meaning of `PC'" Christiansen


More information about the U-Boot mailing list