NetBSD-Bugs archive

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

PR/45914 CVS commit: src/sys/netinet6

The following reply was made to PR kern/45914; it has been noted by GNATS.

From: "Christos Zoulas" <>
Subject: PR/45914 CVS commit: src/sys/netinet6
Date: Thu, 2 Feb 2012 22:32:45 -0500

 Module Name:   src
 Committed By:  christos
 Date:          Fri Feb  3 03:32:45 UTC 2012
 Modified Files:
        src/sys/netinet6: nd6.c
 Log Message:
 PR/45764, PR/45914
 Part 1:
 nd6_purge can be called after dom_ifdetach, and if_afdata[AF_INET6] is
 going to be freed and point to garbage. Make sure we check for NULL, before
 taking the pointer offset.
 While I am here, add an M_ZERO.
 To generate a diff of this commit:
 cvs rdiff -u -r1.140 -r1.141 src/sys/netinet6/nd6.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index