
17 Jun
2017
17 Jun
'17
5:42 a.m.
On 13 June 2017 at 05:10, Tom Rini trini@konsulko.com wrote:
While the previous pass through fixed one place where we knew that fdt_getprop would be given a positive len, in the case of 'fdt set' we do not, so check that we did no get NULL from fdt_getprop().
Cc: Simon Glass sjg@chromium.org Reported-by: Coverity (CID: 163249) Fixes 72c98ed1ab48 ("fdt: Add a check to do_fdt() for coverity") Signed-off-by: Tom Rini trini@konsulko.com
cmd/fdt.c | 4 ++++ 1 file changed, 4 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org