[Pkg-utopia-commits] r1710 - in /packages/unstable/avahi/debian: changelog patches/20_avahi-libdns_sd-crash.patch
sjoerd at users.alioth.debian.org
sjoerd at users.alioth.debian.org
Sun Sep 9 10:17:13 UTC 2007
Author: sjoerd
Date: Sun Sep 9 10:17:13 2007
New Revision: 1710
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=1710
Log:
* debian/patches/20_avahi-libdns_sd-crash.patch
+ Added. Fix a segfault when registering services with libdns_sd before the
avahi daemon finished starting up (from upstream SVN)
Added:
packages/unstable/avahi/debian/patches/20_avahi-libdns_sd-crash.patch
Modified:
packages/unstable/avahi/debian/changelog
Modified: packages/unstable/avahi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/avahi/debian/changelog?rev=1710&op=diff
==============================================================================
--- packages/unstable/avahi/debian/changelog (original)
+++ packages/unstable/avahi/debian/changelog Sun Sep 9 10:17:13 2007
@@ -1,8 +1,10 @@
-avahi (0.6.21-2) UNRELEASED; urgency=low
-
- * NOT RELEASED YET
-
- -- Sjoerd Simons <sjoerd at debian.org> Sun, 12 Aug 2007 19:59:18 +0200
+avahi (0.6.21-2) unstable; urgency=low
+
+ * debian/patches/20_avahi-libdns_sd-crash.patch
+ + Added. Fix a segfault when registering services with libdns_sd before the
+ avahi daemon finished starting up (from upstream SVN)
+
+ -- Sjoerd Simons <sjoerd at debian.org> Sun, 09 Sep 2007 12:15:55 +0200
avahi (0.6.21-1) unstable; urgency=low
Added: packages/unstable/avahi/debian/patches/20_avahi-libdns_sd-crash.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/avahi/debian/patches/20_avahi-libdns_sd-crash.patch?rev=1710&op=file
==============================================================================
--- packages/unstable/avahi/debian/patches/20_avahi-libdns_sd-crash.patch (added)
+++ packages/unstable/avahi/debian/patches/20_avahi-libdns_sd-crash.patch Sun Sep 9 10:17:13 2007
@@ -1,0 +1,21 @@
+Index: avahi-compat-libdns_sd/compat.c
+===================================================================
+--- avahi-compat-libdns_sd/compat.c (revision 1535)
++++ avahi-compat-libdns_sd/compat.c (revision 1536)
+@@ -990,6 +990,16 @@
+ return;
+ }
+ }
++
++ if (!sdref->service_name_chosen) {
++
++ assert(sdref->service_name);
++
++ if (!(sdref->service_name_chosen = avahi_strdup(sdref->service_name))) {
++ reg_report_error(sdref, kDNSServiceErr_NoMemory);
++ return;
++ }
++ }
+
+ /* Register the service */
+
More information about the Pkg-utopia-commits
mailing list