]> git.saurik.com Git - apple/mdnsresponder.git/commitdiff
mDNSResponder-522.92.1.tar.gz os-x-1094 os-x-1095 v522.92.1
authorApple <opensource@apple.com>
Wed, 13 Aug 2014 17:58:10 +0000 (17:58 +0000)
committerApple <opensource@apple.com>
Wed, 13 Aug 2014 17:58:10 +0000 (17:58 +0000)
Makefile
mDNSMacOSX/BonjourEvents.c
mDNSShared/dns_sd.h

index 4ebf3a5f34808db29df03548a62543c0be7d829d..35b1b5fe1e0e521cc8f33350b6c48d287bea6c47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 
 include $(MAKEFILEPATH)/pb_makefiles/platform.make
 
-MVERS = "mDNSResponder-522.90.2"
+MVERS = "mDNSResponder-522.92.1"
 
 DDNSWRITECONFIG = "$(DSTROOT)/Library/Application Support/Bonjour/ddnswriteconfig"
 VER = 
index b930818939fcc35fd27d77cbf95ed55b0224fd2c..811fa51a693ad728e04e9b81a3fa2b82511647d5 100644 (file)
@@ -747,6 +747,16 @@ void ServiceBrowserCallback (DNSServiceRef sdRef,
     }
 
     CFStringRef cfServiceName = CFStringCreateWithCString(NULL, serviceName, kCFStringEncodingUTF8);
+    if (cfServiceName == NULL)
+    {
+        static int msg_count = 0;
+        if (msg_count < 1000)
+        {
+            asl_log(NULL, NULL, ASL_LEVEL_INFO, "%s:%s Can not create CFString for serviceName %s", sPluginIdentifier, __FUNCTION__, serviceName);
+            msg_count++;
+        }
+        return;
+    }
 
     if (flags & kDNSServiceFlagsAdd)
     {
index 6bbb98a01ecf43769ca0a572ac722f471f7649b9..88ca76965aebf37bf17921acd65fb595863d34fa 100644 (file)
@@ -77,7 +77,7 @@
  */
 
 #ifndef _DNS_SD_H
-#define _DNS_SD_H 5229002
+#define _DNS_SD_H 5229201
 
 #ifdef  __cplusplus
 extern "C" {