Tom Rini 99bb38e2cc 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>
2017-07-11 10:08:20 -06:00
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2017-07-03 17:35:28 -04:00
2016-03-22 12:16:08 -04:00
2016-09-09 15:53:14 -04:00
2017-06-16 10:11:42 -04:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2017-03-17 14:15:10 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-06-12 08:37:55 -04:00
2017-06-09 11:24:01 -04:00
2017-02-08 15:56:28 -05:00
2017-07-03 17:35:28 -04:00
2016-01-25 10:39:43 -05:00
2016-12-27 11:24:18 -05:00
2016-10-06 20:57:42 -04:00
2017-06-02 10:16:46 -06:00
2017-06-12 08:37:55 -04:00
2016-09-07 08:49:02 -04:00
2017-07-08 15:55:30 -04:00
2017-06-12 08:37:55 -04:00
2016-03-27 09:12:55 -04:00
2017-03-26 13:22:58 -06:00
2016-02-26 08:53:10 -07:00