coreboot-kgpe-d16/src
Ryan Salsamendi 1b5eda0233 arch/x86/smbios: Fix undefined behavior
Fixes report found by undefined behavior sanitizer. Dereferencing a
pointer that's not aligned to the size of access is undefined behavior.
The report triggered for smbios_cpu_vendor(). Also fixes the same issue
in smbios_processor_name() found by inspection.

Change-Id: I1b7d08655edce729e107a5b6e61ee509ebde33b6
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20154
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
2017-06-20 03:15:48 +02:00
..
acpi
arch arch/x86/smbios: Fix undefined behavior 2017-06-20 03:15:48 +02:00
commonlib arch/x86/ebda: Change memcpy() to endian wrappers 2017-06-20 03:13:18 +02:00
console src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
cpu cpu/x86/smm/smihandler: Apply cosmetic changes 2017-06-19 20:46:40 +02:00
device device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
drivers drivers/xgi: Fix usage of NGI Kconfig options 2017-06-15 06:23:42 +02:00
ec device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
include cpu/x86/smm/smihandler: Apply cosmetic changes 2017-06-19 20:46:40 +02:00
lib Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00
mainboard mb/google/poppy: Add MIPI camera support. 2017-06-19 20:51:28 +02:00
northbridge nb/intel/pineview/raminit: Remove very long delays 2017-06-19 20:48:55 +02:00
soc rockchip/rk3399: fix DRAM gate training issue 2017-06-19 18:43:19 +02:00
southbridge southbridge/bd82x6x - add GNVS var for trackpad IRQ 2017-06-16 16:09:57 +02:00
superio device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode vendorcode/siemens: Add new values to hwilib 2017-06-13 10:27:04 +02:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00