As a defense, assert if the requested address is out of the card area.
Suggested-by: Peter Maydell
Signed-off-by: Philippe Mathieu-Daudé
---
hw/sd/sd.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 548745614e..5d1b314a32 10064
On Tue, 30 Jun 2020 at 14:39, Philippe Mathieu-Daudé wrote:
>
> As a defense, assert if the requested address is out of the card area.
>
> Suggested-by: Peter Maydell
> Signed-off-by: Philippe Mathieu-Daudé
> --
Reviewed-by: Peter Maydell
thanks
-- PMM