
4 Jun
2018
4 Jun
'18
11:58 p.m.
On Mon, Jun 04, 2018 at 06:42:28AM +0100, Peter Robinson wrote:
On Mon, Jun 4, 2018 at 1:22 AM, Teddy Reed teddy.reed@gmail.com wrote:
FDT property searching can overflow when comparing strings. This will result in undefined behavior.
This check assures that property name lengths do not overrun the string region or the totalsize.
The lib/libfdt is mostly a sync from upstream dtc [1] so I suspect it's a problem there too and should probably sent and accepted there and it'll then be pulled back in a resync.
Peter
Indeed, thanks!
--
Tom