Commit e280442e authored by David Gibson's avatar David Gibson Committed by Jon Loeliger
Browse files

Fix uninitialized access bug in utilfdt_decode_type



I just found this little bug with valgrind.  strchr() will return true
if the given character is '\0'.  This meant that utilfdt_decode_type()
could take a path which accesses uninitialized data when given the
(invalid) format string "L".

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 0b3b46e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment