diff options
author | Lichen Liu <lichliu@redhat.com> | 2022-03-30 19:09:51 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2022-03-30 19:32:31 +0200 |
commit | 36805fe6ba339a02fa177467f753604d8cbf7b15 (patch) | |
tree | 2f6fd645ad83cfa456fbc1228379ad92d887ea99 /kexec/arch/sh/kexec-netbsd-sh.c | |
parent | 1b03cf7adc3c156ecab2618acb1ec585336a3f75 (diff) |
kexec-tools: fix leak FILE pointer.
Close fp if file size is smaller than 13 bytes.
Fixes: dcfcc73c73e6 ("kexec-tools: Determine if the image is lzma commpressed")
Signed-off-by: Lichen Liu <lichliu@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/sh/kexec-netbsd-sh.c')
0 files changed, 0 insertions, 0 deletions