X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Fdomain.c;h=988ba7e5d939e23b6d964767b23d60daeaa98bf7;hb=689381d4837bcf8a97bd51969d51096b3f2e2346;hp=e82411f185946b6edc9bd2dda27484d180549031;hpb=16d9e30dd7fa052bd7e6dd37927d7f27bec90ef1;p=catta diff --git a/avahi-common/domain.c b/avahi-common/domain.c index e82411f..988ba7e 100644 --- a/avahi-common/domain.c +++ b/avahi-common/domain.c @@ -491,7 +491,7 @@ int avahi_domain_ends_with(const char *domain, const char *suffix) { } int avahi_service_name_join(char *p, size_t size, const char *name, const char *type, const char *domain) { - char escaped_name[AVAHI_LABEL_MAX]; + char escaped_name[AVAHI_LABEL_MAX*4]; char normalized_type[AVAHI_DOMAIN_NAME_MAX]; char normalized_domain[AVAHI_DOMAIN_NAME_MAX];