qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-9.0? 0/2] hw/sd/sdcard: Avoid OOB in sd_read_byte()
@ 2024-04-08 14:17 Philippe Mathieu-Daudé
  2024-04-08 14:17 ` [RFC PATCH-for-9.0? 1/2] hw/sd/sdcard: Avoid OOB in sd_read_byte() during unexpected CMD switch Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-04-08 14:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: Bin Meng, qemu-arm, Philippe Mathieu-Daudé,
	Alexander Bulekov, qemu-block

Since this is Fix day, I went over this old bug:
https://gitlab.com/qemu-project/qemu/-/issues/487
It happens to be a QEMU implementation detail not
really related to the spec.

Philippe Mathieu-Daudé (2):
  hw/sd/sdcard: Avoid OOB in sd_read_byte() during unexpected CMD switch
  hw/sd/sdcard: Assert @data_offset is in range

 hw/sd/sd.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-20 14:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-08 14:17 [PATCH-for-9.0? 0/2] hw/sd/sdcard: Avoid OOB in sd_read_byte() Philippe Mathieu-Daudé
2024-04-08 14:17 ` [RFC PATCH-for-9.0? 1/2] hw/sd/sdcard: Avoid OOB in sd_read_byte() during unexpected CMD switch Philippe Mathieu-Daudé
2024-04-08 14:17 ` [PATCH-for-9.1 2/2] hw/sd/sdcard: Assert @data_offset is in range Philippe Mathieu-Daudé
2024-04-08 14:36   ` Peter Maydell
2024-06-20 13:59 ` [PATCH-for-9.0? 0/2] hw/sd/sdcard: Avoid OOB in sd_read_byte() Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).