[U-Boot] fdt performance

Wolfgang Denk wd at denx.de
Wed Oct 23 06:13:23 CEST 2013


Dear Michael,

In message <CAPx6ZwGMzAzJo=PuyRCJyJ_w=7kPjtdSHJTYYoB6dpH7pd+xLA at mail.gmail.com> you wrote:
> 
> We seem to have a misunderstanding, I did not mean to imply that the
> "offset + len"
> expression was undefined.  I agree that it is fine.  I was referring
> to this statement from
> Aaron's original email:
> 
>         if (p + len < p)
> 
> Which is following:
> 
>         const char *p;
>         unsigned int len;
> 
> That is the statement which is utilizing pointer overflow.

Agreed. That should be fixed.

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
An Elephant is a mouse with an Operating System.              - Knuth


More information about the U-Boot mailing list