Re: [PATCH 3/3] kvm tools: Add boundry check for rtc cmos index

2011-11-29 Thread Sasha Levin
On Tue, 2011-11-29 at 15:07 +0200, Pekka Enberg wrote: > On Tue, 29 Nov 2011, Sasha Levin wrote: > > A guest could overwrite host memory by writing to cmos index bigger than > > 128. > > > > This patch adds a boundry check to limit it to that size. > > > > Cc: Alessandro Zummo > > Cc: rtc-li...@g

Re: [PATCH 3/3] kvm tools: Add boundry check for rtc cmos index

2011-11-29 Thread Pekka Enberg
On Tue, 29 Nov 2011, Sasha Levin wrote: A guest could overwrite host memory by writing to cmos index bigger than 128. This patch adds a boundry check to limit it to that size. Cc: Alessandro Zummo Cc: rtc-li...@googlegroups.com Signed-off-by: Sasha Levin --- tools/kvm/hw/rtc.c |4 1 f

[PATCH 3/3] kvm tools: Add boundry check for rtc cmos index

2011-11-29 Thread Sasha Levin
A guest could overwrite host memory by writing to cmos index bigger than 128. This patch adds a boundry check to limit it to that size. Cc: Alessandro Zummo Cc: rtc-li...@googlegroups.com Signed-off-by: Sasha Levin --- tools/kvm/hw/rtc.c |4 1 files changed, 4 insertions(+), 0 deletio