17 lines
575 B
Diff
17 lines
575 B
Diff
diff -Naur avahi-0.6.20/avahi-core/server.c avahi-0.6.20-mp/avahi-core/server.c
|
|
--- avahi-0.6.20/avahi-core/server.c 2007-05-09 00:51:01.000000000 +0200
|
|
+++ avahi-0.6.20-mp/avahi-core/server.c 2008-12-17 09:03:42.103972000 +0100
|
|
@@ -899,6 +899,12 @@
|
|
return;
|
|
}
|
|
|
|
+ if (port <= 0) {
|
|
+ /* This fixes RHBZ #475394, bnc#459007 */
|
|
+ avahi_log_warn("Received packet from invalid source port.");
|
|
+ return;
|
|
+ }
|
|
+
|
|
if (avahi_address_is_ipv4_in_ipv6(src_address))
|
|
/* This is an IPv4 address encapsulated in IPv6, so let's ignore it. */
|
|
return;
|