From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTt3b-0002az-A0 for qemu-devel@nongnu.org; Tue, 16 Sep 2014 09:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTt3V-0003NP-4a for qemu-devel@nongnu.org; Tue, 16 Sep 2014 09:44:35 -0400 Date: Tue, 16 Sep 2014 09:44:22 -0400 From: Luiz Capitulino Message-ID: <20140916094422.600a65ec@redhat.com> In-Reply-To: <87sijrk7f1.fsf@blackfin.pond.sub.org> References: <20140915140934.17c1bfea@redhat.com> <87sijsxc1d.fsf@blackfin.pond.sub.org> <20140916083457.7512ef34@redhat.com> <87sijrk7f1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio-balloon: fix buffer overflow in memory stats feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel , qemu-stable@nongnu.org On Tue, 16 Sep 2014 15:43:14 +0200 Markus Armbruster wrote: > Luiz Capitulino writes: > > > On Tue, 16 Sep 2014 09:25:02 +0200 > > Markus Armbruster wrote: > > > >> Luiz Capitulino 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 > >> > >> Subject claims buffer overflow, but description suggests integer > >> overflow. Which one is it? > > > > Integer. > > Thanks. If you fix the subject, you can add my R-by. I've fixed the subject, but I've also added a new hunk to the patch.