[PATCH] Fix uninitialized access bug in utilfdt_decode_type
Jon Loeliger
jdl at jdl.com
Sat Feb 4 01:46:00 EST 2012
> 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 at gibson.dropbear.id.au>
Applied.
Thanks,
jdl
More information about the devicetree-discuss
mailing list