summaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorKees Cook <kees@outflux.net>2023-04-05 16:48:10 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-06 21:29:11 +0300
commit94bf7c8a626d71a7c206b3e0cdfb43aca305c862 (patch)
tree1336560d9e3142841afd0e2dd46e43bceddf8514 /lib/parser.c
parentd0a874cb4519304baeb13b7f5e4b088caefca98f (diff)
downloadlinux-94bf7c8a626d71a7c206b3e0cdfb43aca305c862.tar.xz
ACPICA: struct acpi_resource_vendor: Replace 1-element array with flexible array
ACPICA commit 446d05d5ea77946b8b3b8d0c638d1a446b18503e Similar to commit 7ba2f3d91a32 ("Replace one-element array with flexible-array"), replace the 1-element array with a proper flexible array member as defined by C99. This allows the code to operate without tripping compile-time and run-time bounds checkers (e.g. via __builtin_object_size(), -fsanitize=bounds, and/or -fstrict-flex-arrays=3). No binary changes appear in the .text nor .data sections. Link: https://github.com/acpica/acpica/commit/446d05d5 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions