diff options
author | Philippe Mathieu-Daudé | 2020-09-18 19:14:52 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2020-10-21 13:34:27 +0200 |
commit | 84816fb63e5c57159b469a66052d1b2bc862ef77 (patch) | |
tree | 6edf47b44d24dac80d1adc6aeb5915d01411ee7e /util/module.c | |
parent | hw/sd/sdcard: Do not attempt to erase out of range addresses (diff) | |
download | qemu-84816fb63e5c57159b469a66052d1b2bc862ef77.tar.gz qemu-84816fb63e5c57159b469a66052d1b2bc862ef77.tar.xz qemu-84816fb63e5c57159b469a66052d1b2bc862ef77.zip |
hw/sd/sdcard: Assert if accessing an illegal group
We can not have more group than 'wpgrps_size'.
Assert if we are accessing a group above this limit.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201015063824.212980-7-f4bug@amsat.org>
Diffstat (limited to 'util/module.c')
0 files changed, 0 insertions, 0 deletions