Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efi/libstub: Zero initialize heap allocated struct screen_info
commit ee8b8f5 upstream. After calling uefi interface allocate_pool to apply for memory, we should clear 0 to prevent the possibility of using random values. Signed-off-by: Qiang Ma <[email protected]> Cc: <[email protected]> # v6.6+ Fixes: 732ea9d ("efi: libstub: Move screen_info handling to common code") Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information