summaryrefslogtreecommitdiff
path: root/util/cbfstool/elf.h
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-11-09 15:04:58 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-11-11 15:12:21 +0000
commitd4d40c64e102d99acf63b673af4c7e41f10b4de9 (patch)
tree1166a1c25827c34584efa826453defe3cef31fd8 /util/cbfstool/elf.h
parent238ff1e9c71d58f1f691afaec4b64032d92f2ea8 (diff)
acpi/acpigen: Fix buffer length in acpigen_write_name_unicode()
The buffer length is in bytes, and since we are converting from ASCII to UTF-16, the value written needs to be 2x the string length + null terminator. TEST=build/boot google skyrim (frostflow), dump acpi and check bytecode for correct buffer length preceding unicode strings. Change-Id: Id322e3ff457ca1c92c55125224ca6cfab8762a84 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78977 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/cbfstool/elf.h')
0 files changed, 0 insertions, 0 deletions