diff options
author | Kees Cook <kees@outflux.net> | 2023-04-05 15:54:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-06 20:29:12 +0200 |
commit | 3a287932da6a97c84437669a6fec1486401893d2 (patch) | |
tree | 7454dad77fd1583b1ef37a1af13ee6b7a7850c97 /scripts/Makefile.host | |
parent | 6671709c6ee5a9970ad94fe80823dc2fab711f84 (diff) | |
download | linux-stable-3a287932da6a97c84437669a6fec1486401893d2.tar.gz linux-stable-3a287932da6a97c84437669a6fec1486401893d2.tar.bz2 linux-stable-3a287932da6a97c84437669a6fec1486401893d2.zip |
ACPICA: acpi_pci_routing_table: Replace fixed-size array with flex array member
ACPICA commit f4a3afd78c28dede0907f47951f0b73c9a776d4e
The "Source" array is actually a dynamically sized array, but it
is defined as a fixed-size 4 byte array. This results in tripping
both compile-time and run-time bounds checkers (e.g. via either
__builtin_object_size() or -fsanitize=bounds).
To retain the padding, create a union with an unused Pad variable of
size 4, and redefine Source as a proper flexible array member.
No binary changes appear in the .text nor .data sections.
Link: https://github.com/acpica/acpica/commit/f4a3afd7
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions