Skip to content

hw/display/artist: Fix out-of-buffer accesses found while fuzzing

Philippe Mathieu-Daudé qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/display/artist: Check offset in draw_line to avoid buffer over-runhw/display/artist.c+7 -20 replies
2/3hw/display/artist: Refactor artist_rop8() to avoid buffer over-runhw/display/artist.c+25 -150 replies
3/3hw/display/artist: Check offset in block_move to avoid buffer over-readhw/display/artist.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] hw/display/artist: Fix out-of-buffer accesses found while fuzzing

Fix various out-of-range buffer access in the artist device emulation. Bugs found using libFuzzer (docs/devel/fuzzing.txt).

Philippe Mathieu-Daudé (3):
hw/display/artist: Check offset in draw_line to avoid buffer over-run hw/display/artist: Refactor artist_rop8() to avoid buffer over-run hw/display/artist: Check offset in block_move to avoid buffer
over-read

 hw/display/artist.c | 54 +++++++++++++++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 17 deletions(-)
Signature · 1 line
2.21.3