diff options
author | Ryan Salsamendi <rsalsamendi@hotmail.com> | 2017-07-01 18:21:46 -0700 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-07-03 17:15:28 +0000 |
commit | 312b23522ad8fa76bc6a79cd87e2b327635edb77 (patch) | |
tree | 84ab9beac434284faea62c82d6a395e7e4249b5f /src/lib/halt.c | |
parent | fa0725dead0fdc7e9330e77c42ff4ed4b36a89c4 (diff) |
cpu/x86/name: 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.
Remove unnecessary memset().
Change-Id: I1362a3eb8c97f5c7e848d75f8d1a219968a7ef9e
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20452
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'src/lib/halt.c')
0 files changed, 0 insertions, 0 deletions