mbox series

[0/3] hw/sd/sdhci: Fix DMA Transfer Block Size field width

Message ID 20200901140127.111454-1-f4bug@amsat.org
Headers show
Series hw/sd/sdhci: Fix DMA Transfer Block Size field width | expand

Message

Philippe Mathieu-Daudé Sept. 1, 2020, 2:01 p.m. UTC
Fix the SDHCI issue reported last week by Alexander:
https://bugs.launchpad.net/qemu/+bug/1892960

The field is 12-bit (4KiB) but the guest can set
up to 16-bit (64KiB), leading to OOB access.

Philippe Mathieu-Daudé (3):
  hw/sd/sdhci: Fix qemu_log_mask() format string
  hw/sd/sdhci: Document the datasheet used
  hw/sd/sdhci: Fix DMA Transfer Block Size field

 hw/sd/sdhci.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)