Re: [PATCH v2] ati: check x y display parameter values

2020-11-03 Thread Gerd Hoffmann
On Wed, Oct 21, 2020 at 04:08:18PM +0530, P J P wrote: > From: Prasad J Pandit > > The source and destination x,y display parameters in ati_2d_blt() > may run off the vga limits if either of s->regs.[src|dst]_[xy] is > zero. Check the parameter values to avoid potential crash. > > Reported-by: G

[PATCH v2] ati: check x y display parameter values

2020-10-21 Thread P J P
From: Prasad J Pandit The source and destination x,y display parameters in ati_2d_blt() may run off the vga limits if either of s->regs.[src|dst]_[xy] is zero. Check the parameter values to avoid potential crash. Reported-by: Gaoning Pan Signed-off-by: Prasad J Pandit --- hw/display/ati_2d.c