[U-Boot] [U-Boot, v2, 4/8] fdtgrep: Fix logic of free() in do_fdtgrep()

Tom Rini trini at konsulko.com
Tue Jun 19 18:42:28 UTC 2018


On Tue, Jun 12, 2018 at 12:04:58AM -0600, Simon Glass wrote:

> This loop never actually exits, but the way the code is written this is
> not obvious. Add an explicit error check.
> 
> Reported-by: Coverity (CID: 131280)
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/1b1069c4/attachment.sig>


More information about the U-Boot mailing list