Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netcan Forced commit for previous (1.2) rev commit message:



details:   https://anonhg.NetBSD.org/src/rev/9ef7adf2b86f
branches:  trunk
changeset: 824272:9ef7adf2b86f
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue May 30 13:33:16 2017 +0000

description:
Forced commit for previous (1.2) rev commit message:
don't dereference a NULL pointer in can_setsockaddr() if we didn't bind
to an interface.

diffstat:

 sys/netcan/can_pcb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a4b85bf53e42 -r 9ef7adf2b86f sys/netcan/can_pcb.c
--- a/sys/netcan/can_pcb.c      Tue May 30 13:30:51 2017 +0000
+++ b/sys/netcan/can_pcb.c      Tue May 30 13:33:16 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: can_pcb.c,v 1.3 2017/05/30 13:30:51 bouyer Exp $       */
+/*     $NetBSD: can_pcb.c,v 1.4 2017/05/30 13:33:16 bouyer Exp $       */
 
 /*-
  * Copyright (c) 2003, 2017 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: can_pcb.c,v 1.3 2017/05/30 13:30:51 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: can_pcb.c,v 1.4 2017/05/30 13:33:16 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index