[coreboot-gerrit] Change in coreboot[master]: arch/x86: Fix undefined behavior.
Ryan Salsamendi (Code Review)
gerrit at coreboot.org
Fri Jun 9 21:20:19 CEST 2017
Ryan Salsamendi has uploaded a new patch set (#2). ( https://review.coreboot.org/20132 )
Change subject: arch/x86: Fix undefined behavior.
......................................................................
arch/x86: Fix undefined behavior.
Fixes report found by undefined behavior sanitizer. Dereferencing a
pointer that is not aligned to the size of access is undefined behavior.
Switch to memcpy() in places where there's a possibility that pointers
are not aligned to the size of access.
Change-Id: I79814bd47a14ec59d84068b11d094dc2531995d9
Signed-off-by: Ryan Salsamendi <rsalsamendi at hotmail.com>
---
M src/arch/x86/ebda.c
1 file changed, 15 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/20132/2
--
To view, visit https://review.coreboot.org/20132
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I79814bd47a14ec59d84068b11d094dc2531995d9
Gerrit-Change-Number: 20132
Gerrit-PatchSet: 2
Gerrit-Owner: Ryan Salsamendi <rsalsamendi at hotmail.com>
More information about the coreboot-gerrit
mailing list