On 2/18/21 7:23 PM, Philippe Mathieu-Daudé wrote: > On 2/16/21 4:46 AM, Bin Meng wrote: >> Per "SD Host Controller Standard Specification Version 7.00" >> chapter 2.2.1 SDMA System Address Register: >> >> This register can be accessed only if no transaction is executing >> (i.e., after a transaction has stopped). >> >> With this fix, the following reproducer: >> >> https://paste.debian.net/plain/1185137 >> >> cannot be reproduced with the following QEMU command line: >> >> $ qemu-system-x86_64 -nographic -machine accel=qtest -m 512M \ >> -nodefaults -device sdhci-pci,sd-spec-version=3 \ >> -drive if=sd,index=0,file=null-co://,format=raw,id=mydrive \ >> -device sd-card,drive=mydrive -qtest stdio > > Without the rest applied, I still can :( > > AddressSanitizer: heap-buffer-overflow
Err, I used an old build for this test, sorry...