From owner-svn-src-stable-8@FreeBSD.ORG Fri Nov 26 11:02:52 2010 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41BE01065694; Fri, 26 Nov 2010 11:02:52 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4888FC1D; Fri, 26 Nov 2010 11:02:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAQB2qu6037120; Fri, 26 Nov 2010 11:02:52 GMT (envelope-from netchild@svn.freebsd.org) Received: (from netchild@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAQB2qM5037118; Fri, 26 Nov 2010 11:02:52 GMT (envelope-from netchild@svn.freebsd.org) Message-Id: <201011261102.oAQB2qM5037118@svn.freebsd.org> From: Alexander Leidinger Date: Fri, 26 Nov 2010 11:02:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215857 - stable/8/sys/compat/linux X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 11:02:52 -0000 Author: netchild Date: Fri Nov 26 11:02:51 2010 New Revision: 215857 URL: http://svn.freebsd.org/changeset/base/215857 Log: MFC r213471: Fix a comparision of an uninitialised pointer. Submitted by: arundel Found by: clang analysis (automatic service by uqs@) Reviewed by: rdivacky Modified: stable/8/sys/compat/linux/linux_futex.c Modified: stable/8/sys/compat/linux/linux_futex.c ============================================================================== --- stable/8/sys/compat/linux/linux_futex.c Fri Nov 26 10:59:20 2010 (r215856) +++ stable/8/sys/compat/linux/linux_futex.c Fri Nov 26 11:02:51 2010 (r215857) @@ -431,7 +431,7 @@ linux_sys_futex(struct thread *td, struc int clockrt, nrwake, op_ret, ret, val; struct linux_emuldata *em; struct waiting_proc *wp; - struct futex *f, *f2; + struct futex *f, *f2 = NULL; int error = 0; /*