mbox series

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

Message ID 20200523191517.23684-1-f4bug@amsat.org
Headers show
Series hw/display/artist: Fix out-of-buffer accesses found while fuzzing | expand

Message

Philippe Mathieu-Daudé May 23, 2020, 7:15 p.m. UTC
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(-)