diff --git a/src/mdns_avahi.c b/src/mdns_avahi.c index f88863d5..7323dfb8 100644 --- a/src/mdns_avahi.c +++ b/src/mdns_avahi.c @@ -555,7 +555,7 @@ static int address_check(AvahiProtocol proto, const char *hostname, const AvahiAddress *addr, int port) { char address[AVAHI_ADDRESS_STR_MAX]; - char address_log[AVAHI_ADDRESS_STR_MAX]; + char address_log[AVAHI_ADDRESS_STR_MAX + 2]; int family; int ret;