ports/182718: mDNSResponder crashes on IPV6-capable network

Nuno Subtil subtil at gmail.com
Sat Oct 5 20:50:02 UTC 2013


>Number:         182718
>Category:       ports
>Synopsis:       mDNSResponder crashes on IPV6-capable network
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 20:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nuno Subtil
>Release:        9.2-RELEASE
>Organization:
N/A
>Environment:
FreeBSD ponyo 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r+05c3e78: Fri Oct  4 18:22:18 PDT 2013     root at ponyo:/usr/obj/usr/src/sys/HOWL  amd64
>Description:
mDNSResponder will crash occasionally when used on a network with IPV6-capable Mac OS X hosts:

Assertion failed: (0), function recvfrom_flags, file mDNSUNP.c, line 665.

This seems to be caused by a wrong/stale set of #defines in mDNSUNP.h
>How-To-Repeat:
Run 'mDNSResponderPosix -v 2'
>Fix:


Patch attached with submission follows:

--- ./mDNSPosix/mDNSUNP.h.orig	2011-12-01 16:39:45.000000000 -0800
+++ ./mDNSPosix/mDNSUNP.h	2013-10-05 13:18:15.000000000 -0700
@@ -31,10 +31,15 @@
 // The following are the supported non-linux posix OSes -
 // netbsd, freebsd and openbsd.
 #if HAVE_IPV6
+#if defined(__FreeBSD__)
+#define IPV6_2292_PKTINFO  IPV6_PKTINFO
+#define IPV6_2292_HOPLIMIT IPV6_HOPLIMIT
+#else
 #define IPV6_2292_PKTINFO  19
 #define IPV6_2292_HOPLIMIT 20
 #endif
 #endif
+#endif
 
 #ifdef  __cplusplus
 extern "C" {


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list