diff options
| author | Mario Six <[email protected]> | 2017-02-13 10:11:55 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2017-02-17 10:15:21 +0100 |
| commit | 1f6c8a573381ed7d4f506ab45eeb23fb2a896660 (patch) | |
| tree | 83434198dbe2e6fd653c5f1e432669091ffa7561 /scripts/kernel-doc | |
| parent | 85d0bea153c76f4a3912b5683222885bfd37c769 (diff) | |
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 <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
