svn commit: r215857 - stable/8/sys/compat/linux

Alexander Leidinger netchild at FreeBSD.org
Fri Nov 26 11:02:52 UTC 2010


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;
 
 	/*


More information about the svn-src-all mailing list