Skip to content
Commit d001edb7 authored by liwei's avatar liwei
Browse files

PCI/ROM: Fix PCI ROM header check bug

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAEDJI



--------------------------------

In UEFI Specification Version 2.8, describes that the PCIR data structure
 must start on a 4-byte boundary. Add checks to prevent vulnerabilities.

Fixes: d7ad2254 ("[IA64] SN: Correct ROM resource length for BIOS copy")
Signed-off-by: default avatarliwei <liwei728@huawei.com>
parent 0e54270d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment