coreboot/src
Ryan Salsamendi 26fc510b47 UPSTREAM: mainboard/emulation/qemu-i440fx/fw_cfg: Fix undefined behavior
Fixes 2 reports found by undefined behavior sanitizer. Dereferencing
pointers that are not aligned to the size of access is undefiend
behavior.

BUG=none
BRANCH=none
TEST=none

Change-Id: I9f58f4d389569df7a5fa3625b420cd512257582a
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: d4f994bbc4
Original-Change-Id: Iaa3845308171c307f1ddc7937286aacbd00e3a10
Original-Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Original-Reviewed-on: https://review.coreboot.org/20155
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/539526
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-06-19 15:33:09 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/x86: Fix undefined behavior 2017-06-18 11:51:26 -07:00
commonlib UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00
console UPSTREAM: src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 18:19:59 -07:00
cpu UPSTREAM: cpu/x86/smm/smihandler: Apply cosmetic changes 2017-06-19 15:33:09 -07:00
device UPSTREAM: device/pnp: remove struct io_info 2017-06-18 11:51:22 -07:00
drivers UPSTREAM: siemens/nc_fpga: Expand FPGA functionality 2017-06-18 11:51:21 -07:00
ec UPSTREAM: device/pnp: remove struct io_info 2017-06-18 11:51:22 -07:00
include UPSTREAM: cpu/x86/smm/smihandler: Apply cosmetic changes 2017-06-19 15:33:09 -07:00
lib UPSTREAM: Add support for Undefined Behavior Sanitizer 2017-06-18 11:51:27 -07:00
mainboard UPSTREAM: mainboard/emulation/qemu-i440fx/fw_cfg: Fix undefined behavior 2017-06-19 15:33:09 -07:00
northbridge UPSTREAM: haswell: add CBMEM_MEMINFO table when initing RAM 2017-06-18 11:51:36 -07:00
soc UPSTREAM: soc/intel/skylake: Use SCS common code 2017-06-18 11:51:41 -07:00
southbridge UPSTREAM: southbridge/bd82x6x - add GNVS var for trackpad IRQ 2017-06-18 11:51:37 -07:00
superio UPSTREAM: device/pnp: remove struct io_info 2017-06-18 11:51:22 -07:00
vboot UPSTREAM: vboot: Separate board name and version number in FWID with a dot 2017-05-02 20:24:01 -07:00
vendorcode UPSTREAM: vendorcode/siemens: Add new values to hwilib 2017-06-18 11:51:21 -07:00
Kconfig UPSTREAM: Add support for Undefined Behavior Sanitizer 2017-06-18 11:51:27 -07:00