Received: from eggs.gnu.org ([208.118.235.92]:53717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4s4z-0005Cn-3h for qemu-devel@nongnu.org; Fri, 24 Aug 2012 07:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4s4y-0005hP-1f for qemu-devel@nongnu.org; Fri, 24 Aug 2012 07:29:33 -0400 Date: Fri, 24 Aug 2012 12:29:20 +0100 From: Stefan Hajnoczi Message-ID: <20120824112920.GL10867@stefanha-thinkpad.localdomain> References: <1345784583-25640-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1345784583-25640-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH for 1.2] qemu-ga: Fix null pointer passed to unlink in failure branch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-trivial@nongnu.org, Anthony Liguori , qemu-devel@nongnu.org On Fri, Aug 24, 2012 at 07:03:03AM +0200, Stefan Weil wrote: > Clang reports this warning: > > Null pointer passed as an argument to a 'nonnull' parameter > > Signed-off-by: Stefan Weil > --- > qemu-ga.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Nice, this looks like a legitimate bug that was detected by clang. We call become_daemon(NULL). Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan