ACPICA: Apply ACPI_NONSTRING
authorKees Cook <kees@kernel.org>
Fri, 25 Apr 2025 19:28:34 +0000 (21:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 May 2025 13:38:42 +0000 (15:38 +0200)
commit2b82118845e04c7adf4ece797150c19809bab29b
tree0271c82d18f9916b64e3d709db9dbb5a693b8db0
parent6da5e6f3028d46e4fee7849e85eda681939c630b
ACPICA: Apply ACPI_NONSTRING

ACPICA commit ed68cb8e082e3bfbba02814af4fd5a61247f491b

Add ACPI_NONSTRING annotations for places found that are using char
arrays without a terminating NUL character. These were found during
Linux kernel builds and after looking for instances of arrays of size
ACPI_NAMESEG_SIZE.

Link: https://github.com/acpica/acpica/commit/ed68cb8e
Signed-off-by: Kees Cook <kees@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2039736.usQuhbGJ8B@rjwysocki.net
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/nsnames.c
drivers/acpi/acpica/nsrepair2.c