Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common Uninitialized var, found by brainy; ...
details: https://anonhg.NetBSD.org/src/rev/ed9e7027b979
branches: trunk
changeset: 347128:ed9e7027b979
user: maxv <maxv%NetBSD.org@localhost>
date: Mon Aug 15 09:20:11 2016 +0000
description:
Uninitialized var, found by brainy; not tested, but obvious enough
diffstat:
sys/compat/linux/common/linux_futex.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c7905bae9454 -r ed9e7027b979 sys/compat/linux/common/linux_futex.c
--- a/sys/compat/linux/common/linux_futex.c Mon Aug 15 09:14:12 2016 +0000
+++ b/sys/compat/linux/common/linux_futex.c Mon Aug 15 09:20:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_futex.c,v 1.34 2016/05/20 13:54:34 chs Exp $ */
+/* $NetBSD: linux_futex.c,v 1.35 2016/08/15 09:20:11 maxv Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.34 2016/05/20 13:54:34 chs Exp $");
+__KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.35 2016/08/15 09:20:11 maxv Exp $");
#include <sys/param.h>
#include <sys/time.h>
@@ -769,6 +769,7 @@
return;
head.futex_offset = (unsigned long)u32;
+ futex_offset = head.futex_offset;
} else
#endif
if (copyin(&head.futex_offset, &futex_offset, sizeof(unsigned long)))
Home |
Main Index |
Thread Index |
Old Index