summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-09-24 22:07:09 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-09-24 22:07:09 -0400
commit0bc40f3a0e81ee6e520a0c5ffa006e4e68371735 (patch)
tree5c7ac8b8fe55821ebac4b9efd4a7ad79dbee9628 /net-dns/avahi/files
parentapp-portage/grs: 0.2 stable on amd64 (diff)
downloadgentoo-0bc40f3a0e81ee6e520a0c5ffa006e4e68371735.tar.gz
gentoo-0bc40f3a0e81ee6e520a0c5ffa006e4e68371735.tar.bz2
gentoo-0bc40f3a0e81ee6e520a0c5ffa006e4e68371735.zip
net-dns/avahi: bump to 0.6.31-r9 to fix bug #559408.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-dns/avahi/files')
-rw-r--r--net-dns/avahi/files/avahi-0.6.31-invalid_packet.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-dns/avahi/files/avahi-0.6.31-invalid_packet.patch b/net-dns/avahi/files/avahi-0.6.31-invalid_packet.patch
new file mode 100644
index 000000000000..5cfb4659bee6
--- /dev/null
+++ b/net-dns/avahi/files/avahi-0.6.31-invalid_packet.patch
@@ -0,0 +1,21 @@
+Fix "Invalid response packet from host". Bug #559408.
+
+See http://pkgs.fedoraproject.org/cgit/avahi.git/plain/avahi-0.6.31-invalid_packet.patch
+
+diff -up avahi-0.6.31/avahi-core/server.c.invalid_packet avahi-0.6.31/avahi-core/server.c
+--- avahi-0.6.31/avahi-core/server.c.invalid_packet 2015-09-22 08:12:58.544588701 -0500
++++ avahi-0.6.31/avahi-core/server.c 2015-09-22 08:13:39.743862403 -0500
+@@ -972,11 +972,9 @@ static void dispatch_packet(AvahiServer
+ return;
+ }
+
+- if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_QDCOUNT) != 0 ||
+- avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0 ||
+- avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_NSCOUNT) != 0) {
++ if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0) {
+
+- avahi_log_warn("Invalid response packet from host %s.", avahi_address_snprint(t, sizeof(t), src_address));
++ avahi_log_debug("Invalid response packet from host %s.", avahi_address_snprint(t, sizeof(t), src_address));
+ return;
+ }
+