Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Na6zo-0006f8-1b for qemu-devel@nongnu.org; Wed, 27 Jan 2010 07:27:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Na6zj-0006cf-DK for qemu-devel@nongnu.org; Wed, 27 Jan 2010 07:27:43 -0500 Received: from [199.232.76.173] (port=47160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na6zj-0006cZ-4M for qemu-devel@nongnu.org; Wed, 27 Jan 2010 07:27:39 -0500 Received: from smtp.eu.citrix.com ([62.200.22.115]:22059) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Na6zi-0006NO-SM for qemu-devel@nongnu.org; Wed, 27 Jan 2010 07:27:39 -0500 Date: Wed, 27 Jan 2010 12:29:39 +0000 From: Stefano Stabellini Subject: Re: [Qemu-devel] [PATCH] vnc_refresh: calling vnc_update_client might free vs In-Reply-To: <4B600D32.9080008@redhat.com> Message-ID: References: <4B5F83B2.8060003@codemonkey.ws> <4B600D32.9080008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "qemu-devel@nongnu.org" , Stefano Stabellini On Wed, 27 Jan 2010, Gerd Hoffmann wrote: > On 01/27/10 01:07, Anthony Liguori wrote: > > On 01/25/2010 06:54 AM, Stefano Stabellini wrote: > >> Hi all, > >> this patch fixes another bug in vnc_refresh: calling vnc_update_client > >> might cause vs to be free()ed, in this case we cannot access vs->next > >> right after to examine the next item on the list. > >> > >> Signed-off-by: Stefano Stabellini > > > > Applied. Thanks. > > IMHO this should go to stable too. > Yes, good idea.