commit | e280442e08fcbe8431dc85d836ff3ecc489932fb | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Fri Feb 03 06:06:12 2012 |
committer | Jon Loeliger <jdl@jdl.com> | Fri Feb 03 14:43:40 2012 |
tree | 378e8a0524187ec84304496ddcb1e908e4e06dc9 | |
parent | 0b3b46e019f546a24927bb7ca009670762c00107 [diff] |
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: David Gibson <david@gibson.dropbear.id.au>