diff options
| author | Jithu Joseph <[email protected]> | 2024-01-25 08:22:50 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-01-26 19:12:16 +0000 |
| commit | 8c898ec07a2fc1d4694e81097a48e94a3816308d (patch) | |
| tree | 316ecd2b1f894a786f991c3f65d5107da7b8e5c0 /net/unix/garbage.c | |
| parent | platform/x86/amd/pmf: Fix memory leak in amd_pmf_get_pb_data() (diff) | |
| download | kernel-8c898ec07a2fc1d4694e81097a48e94a3816308d.tar.gz kernel-8c898ec07a2fc1d4694e81097a48e94a3816308d.zip | |
platform/x86/intel/ifs: Call release_firmware() when handling errors.
Missing release_firmware() due to error handling blocked any future image
loading.
Fix the return code and release_fiwmare() to release the bad image.
Fixes: 25a76dbb36dd ("platform/x86/intel/ifs: Validate image size")
Reported-by: Pengfei Xu <[email protected]>
Signed-off-by: Jithu Joseph <[email protected]>
Signed-off-by: Ashok Raj <[email protected]>
Tested-by: Pengfei Xu <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
