diff options
author | 2024-07-17 15:00:43 +0800 | |
---|---|---|
committer | 2024-07-17 22:51:20 +0200 | |
commit | ee8b8f5d83eb2c9caaebcf633310905ee76856e9 (patch) | |
tree | b1e319dbbce46089483e1a5687142645b7a5b796 /scripts/generate_rust_analyzer.py | |
parent | efi: Replace efi_memory_attributes_table_t 0-sized array with flexible array (diff) | |
download | wireguard-linux-ee8b8f5d83eb2c9caaebcf633310905ee76856e9.tar.xz wireguard-linux-ee8b8f5d83eb2c9caaebcf633310905ee76856e9.zip |
efi/libstub: Zero initialize heap allocated struct screen_info
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 <maqianga@uniontech.com>
Cc: <stable@vger.kernel.org> # v6.6+
Fixes: 732ea9db9d8a ("efi: libstub: Move screen_info handling to common code")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions