qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-balloon: fix buffer overflow in memory s


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH] virtio-balloon: fix buffer overflow in memory stats feature
Date: Tue, 16 Sep 2014 08:34:57 -0400

On Tue, 16 Sep 2014 09:25:02 +0200
Markus Armbruster <address@hidden> wrote:

> Luiz Capitulino <address@hidden> writes:
> 
> > When a QMP client changes the polling interval time by setting
> > the guest-stats-polling-interval property, the interval value
> > is stored and manipuled as an int64_t variable.
> >
> > However, the balloon_stats_change_timer() function, which is
> > used to set the actual timer with the interval value, takes
> > an int instead, causing an overflow for big interval values.
> >
> > Fix it.
> >
> > Signed-off-by: Luiz Capitulino <address@hidden>
> 
> Subject claims buffer overflow, but description suggests integer
> overflow.  Which one is it?

Integer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]