commit | 506ec208d674296832c68b7520cd4ca2faa49762 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Tue Jun 13 07:10:35 2017 -0400 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 11 10:08:20 2017 -0600 |
tree | f155f75b8323132fa07b992cd3fc8ac89a87520b | |
parent | 2a00cc9b5d9a7fe8601989a02ee81e62eec360a5 [diff] |
fdt: Check for NULL return from fdt_getprop in 'fdt set' 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> Reviewed-by: Simon Glass <sjg@chromium.org>