summaryrefslogtreecommitdiff
path: root/post/lib_powerpc/srawi.c
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2017-02-13 09:11:55 (GMT)
committerStefan Roese <sr@denx.de>2017-02-17 09:15:21 (GMT)
commit1f6c8a573381ed7d4f506ab45eeb23fb2a896660 (patch)
tree83434198dbe2e6fd653c5f1e432669091ffa7561 /post/lib_powerpc/srawi.c
parent85d0bea153c76f4a3912b5683222885bfd37c769 (diff)
downloadu-boot-fsl-qoriq-1f6c8a573381ed7d4f506ab45eeb23fb2a896660.tar.xz
tools: kwbimage: Fix unchecked return value and fd leak
The return value of fstat was not checked in kwbimage, and in the case of an error, the already open file was not closed. Fix both errors. Reported-by: Coverity (CID: 155971) Reported-by: Coverity (CID: 155969) Signed-off-by: Mario Six <mario.six@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post/lib_powerpc/srawi.c')
0 files changed, 0 insertions, 0 deletions