commit | f858bb2e6c191da3981838937950cb3c98e488fe | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Aug 17 07:03:20 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Wed Sep 01 08:09:24 2021 +0200 |
tree | 5af2b8e0af165d7d13b361d8bb2535b5050915db | |
parent | e23162c805d46e7f6d11ba07f397b5e3e3750fda [diff] |
kwbimage: check fopen() return value Always check the return value of fopen(). This resolves Coverity CID 338491: Null pointer dereferences (NULL_RETURNS) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Pali Rohár <pali@kernel.org>