Skip to content

hw/block/nand: Fix out-of-bound access in NAND block buffer

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Addressed Kevin trivial suggestions (unsigned offset)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/block/nand: Factor nand_load_iolen() method outhw/block/nand.c+22 -130 replies
2/3hw/block/nand: Have blk_load() take unsigned offset and return booleanhw/block/nand.c+10 -40 replies
3/3hw/block/nand: Fix out-of-bound access in NAND block bufferhw/block/nand.c+7 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonKevin Wolf
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH-for-9.0 v2 0/3] hw/block/nand: Fix out-of-bound access in NAND block buffer

Fix for https://gitlab.com/qemu-project/qemu/-/issues/1446

Since v1:
- Addressed Kevin trivial suggestions (unsigned offset)

Philippe Mathieu-Daudé (3):
hw/block/nand: Factor nand_load_iolen() method out hw/block/nand: Have blk_load() take unsigned offset and return boolean hw/block/nand: Fix out-of-bound access in NAND block buffer

 hw/block/nand.c | 55 ++++++++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 17 deletions(-)
Signature · 1 line
2.41.0