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/6ed6b7d46125
branches: trunk
changeset: 319484:6ed6b7d46125
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 3fcb4f3999f7 -r 6ed6b7d46125 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