Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/svr4 Add XXX for NULL deref. Not sure how to fix ...
details: https://anonhg.NetBSD.org/src/rev/4a8bbf796154
branches: trunk
changeset: 362222:4a8bbf796154
user: maxv <maxv%NetBSD.org@localhost>
date: Thu May 31 15:41:11 2018 +0000
description:
Add XXX for NULL deref. Not sure how to fix it, not sure we care either...
diffstat:
sys/compat/svr4/svr4_stream.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r a6de9bd8e440 -r 4a8bbf796154 sys/compat/svr4/svr4_stream.c
--- a/sys/compat/svr4/svr4_stream.c Thu May 31 15:34:25 2018 +0000
+++ b/sys/compat/svr4/svr4_stream.c Thu May 31 15:41:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $ */
+/* $NetBSD: svr4_stream.c,v 1.94 2018/05/31 15:41:11 maxv Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.93 2018/05/05 02:09:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svr4_stream.c,v 1.94 2018/05/31 15:41:11 maxv Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -1791,6 +1791,10 @@
sc.cmd = SVR4_TI_RECVFROM_IND;
+ /*
+ * XXX: name = NULL?
+ */
+
switch (st->s_family) {
case AF_INET:
sc.len = sizeof (struct sockaddr_in);
Home |
Main Index |
Thread Index |
Old Index