]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: sandbox: Add missing PCI bar to barinfo
authorAndrew Scull <ascull@google.com>
Sun, 3 Apr 2022 10:39:10 +0000 (10:39 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 29 Apr 2022 15:11:36 +0000 (11:11 -0400)
commit9c2f5ecd43ee8bad9d52497c154088c6a99e3f9d
treed860a8d335239062d615dfa6e5333d666f2de78e
parent3849ca7b2f8363dee751c6918df0aacf64cde3bd
x86: sandbox: Add missing PCI bar to barinfo

There are expecte to be bars 0 through 5, but the last of these was
missing leading to an read beyond the buffer. Add the missing element
with zero values.

Signed-off-by: Andrew Scull <ascull@google.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/acpi_pmc/pmc_emul.c