Re: [PATCH v2 0/6] hw/sd/sdcard: Do not attempt to erase out of range addresses

2020-10-21 Thread Philippe Mathieu-Daudé

On 10/17/20 8:31 PM, Alexander Bulekov wrote:

On 201015 0838, Philippe Mathieu-Daudé wrote:

Yet another bug in the sdcard model found by libfuzzer:
https://bugs.launchpad.net/bugs/1895310

Since RFC: Settled migration issue

Philippe Mathieu-Daudé (6):
   hw/sd/sdcard: Add trace event for ERASE command (CMD38)
   hw/sd/sdcard: Introduce the INVALID_ADDRESS definition
   hw/sd/sdcard: Do not use legal address '0' for INVALID_ADDRESS
   hw/sd/sdcard: Reset both start/end addresses on error
   hw/sd/sdcard: Do not attempt to erase out of range addresses
   hw/sd/sdcard: Assert if accessing an illegal group

  hw/sd/sd.c | 30 ++
  hw/sd/trace-events |  2 +-
  2 files changed, 23 insertions(+), 9 deletions(-)

--
2.26.2



Hi Phil,
For this series:
Tested-by: Alexander Bulekov 


Thanks!

Series applied to sd-next tree.



Re: [PATCH v2 0/6] hw/sd/sdcard: Do not attempt to erase out of range addresses

2020-10-17 Thread Alexander Bulekov
On 201015 0838, Philippe Mathieu-Daudé wrote:
> Yet another bug in the sdcard model found by libfuzzer:
> https://bugs.launchpad.net/bugs/1895310
> 
> Since RFC: Settled migration issue
> 
> Philippe Mathieu-Daudé (6):
>   hw/sd/sdcard: Add trace event for ERASE command (CMD38)
>   hw/sd/sdcard: Introduce the INVALID_ADDRESS definition
>   hw/sd/sdcard: Do not use legal address '0' for INVALID_ADDRESS
>   hw/sd/sdcard: Reset both start/end addresses on error
>   hw/sd/sdcard: Do not attempt to erase out of range addresses
>   hw/sd/sdcard: Assert if accessing an illegal group
> 
>  hw/sd/sd.c | 30 ++
>  hw/sd/trace-events |  2 +-
>  2 files changed, 23 insertions(+), 9 deletions(-)
> 
> -- 
> 2.26.2
> 

Hi Phil,
For this series:
Tested-by: Alexander Bulekov 

Thanks
-Alex



[PATCH v2 0/6] hw/sd/sdcard: Do not attempt to erase out of range addresses

2020-10-15 Thread Philippe Mathieu-Daudé
Yet another bug in the sdcard model found by libfuzzer:
https://bugs.launchpad.net/bugs/1895310

Since RFC: Settled migration issue

Philippe Mathieu-Daudé (6):
  hw/sd/sdcard: Add trace event for ERASE command (CMD38)
  hw/sd/sdcard: Introduce the INVALID_ADDRESS definition
  hw/sd/sdcard: Do not use legal address '0' for INVALID_ADDRESS
  hw/sd/sdcard: Reset both start/end addresses on error
  hw/sd/sdcard: Do not attempt to erase out of range addresses
  hw/sd/sdcard: Assert if accessing an illegal group

 hw/sd/sd.c | 30 ++
 hw/sd/trace-events |  2 +-
 2 files changed, 23 insertions(+), 9 deletions(-)

-- 
2.26.2