Re: [Qemu-devel] [PATCH RFC 1 3/8] xen/pt: Check if reg->init is past the reg->size

2015-07-01 Thread Stefano Stabellini
On Mon, 29 Jun 2015, Konrad Rzeszutek Wilk wrote: > It should never happen, but in case it does we want to > report. The code will only write up to reg->size so there > is no runtime danger. > > Signed-off-by: Konrad Rzeszutek Wilk > --- > hw/xen/xen_pt_config_init.c | 8 ++-- > 1 file chang

[Qemu-devel] [PATCH RFC 1 3/8] xen/pt: Check if reg->init is past the reg->size

2015-06-29 Thread Konrad Rzeszutek Wilk
It should never happen, but in case it does we want to report. The code will only write up to reg->size so there is no runtime danger. Signed-off-by: Konrad Rzeszutek Wilk --- hw/xen/xen_pt_config_init.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/xen/xen_pt_co