diff options
author | Ryan Salsamendi <rsalsamendi@hotmail.com> | 2017-06-11 18:50:32 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-20 03:15:48 +0200 |
commit | 1b5eda02332db0182b282a2afc960d6899c0b31a (patch) | |
tree | b439a5c16f04a87a36a139c93d2a6ae75acbddc5 /src/mainboard/google/fizz/Kconfig | |
parent | f511c1f11895397606be103823fd3a33c6e92811 (diff) | |
download | coreboot-1b5eda02332db0182b282a2afc960d6899c0b31a.tar.xz |
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>
Diffstat (limited to 'src/mainboard/google/fizz/Kconfig')
0 files changed, 0 insertions, 0 deletions