diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-16 13:14:09 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-19 10:02:04 +0000 |
commit | 7cfe68d965d060dc7d5b094b55e02ce5be15d369 (patch) | |
tree | 0055f7f24b4f42b61111e2419a174db0ccbd5453 /src/mainboard/hp | |
parent | 52f3bd158a2edf92ec163912ee6b4053f976c636 (diff) |
device/pci_rom.c: Fix out of bounds read
run_rom->data is a uint16_t, so use the appropriate read function.
Change-Id: Icc14421412885495df90c90ed7da6e7d2eba4182
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1402145
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34372
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/hp')
0 files changed, 0 insertions, 0 deletions