diff options
author | Jithu Joseph <[email protected]> | 2023-10-05 12:51:33 -0700 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2023-10-06 13:05:20 +0300 |
commit | 25a76dbb36dd58ad4df7f6a4dc43061a10b0d817 (patch) | |
tree | 9bc419a8fea333f61a5d1dbac26a472bcbd76c14 /drivers/fpga/fpga-mgr.c | |
parent | 72b96ee29ed6f7670bbb180ba694816e33d361d1 (diff) |
platform/x86/intel/ifs: Validate image size
Perform additional validation prior to loading IFS image.
Error out if the size of the file being loaded doesn't match the size
specified in the header.
Signed-off-by: Jithu Joseph <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Tested-by: Pengfei Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions