summaryrefslogtreecommitdiff
path: root/src/include/cpu/cpu.h
diff options
context:
space:
mode:
authorRyan Salsamendi <rsalsamendi@hotmail.com>2017-06-11 18:50:32 -0700
committerMartin Roth <martinroth@google.com>2017-06-20 03:15:48 +0200
commit1b5eda02332db0182b282a2afc960d6899c0b31a (patch)
treeb439a5c16f04a87a36a139c93d2a6ae75acbddc5 /src/include/cpu/cpu.h
parentf511c1f11895397606be103823fd3a33c6e92811 (diff)
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/include/cpu/cpu.h')
0 files changed, 0 insertions, 0 deletions