From: Wolfgang Denk Date: Wed, 23 Oct 2013 06:13:23 +0200 Subject: [U-Boot] fdt performance In-Reply-To: References: <525F8284.4000304@caviumnetworks.com> <20131017185555.9BC6C3811CC@gemini.denx.de> <20131018201110.A90EA3811D6@gemini.denx.de> <20131021195523.96C943811D8@gemini.denx.de> Message-ID: <20131023041323.4C8293811DB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Michael, In message 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