[U-Boot] [PATCH 3/4] Make printf and vprintf safe from buffer overruns

Wolfgang Denk wd at denx.de
Sun Sep 25 22:16:28 CEST 2011


Dear Simon Glass,

In message <CAPnjgZ2D8MYS7wHMFUnzVhXK_tcmv7GayJyEormkPDNA78p7JQ at mail.gmail.com> you wrote:
> 
> > in the context of I/O funcs, CONFIG_SYS_PBSIZE is the current standard
> 
> OK - is there a reason why boards can redefine this? Many many boards
> do. It seems like something that should just be given a sensible
> value.

Indeed - that's exactly what the board specific definitions are
supposed to do.

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
Es ist offensichtlich, dass das menschliche Gehirn wie  ein  Computer
funktioniert.  Da  es  keine  dummen Computer gibt, gibt es also auch
keine dummen Menschen. Nur ein paar Leute, die unter DOS laufen.
                                                       -- <unbekannt>


More information about the U-Boot mailing list