Ticket #162: avahi_resolv_conf_segfault.patch
| File avahi_resolv_conf_segfault.patch, 481 bytes (added by zml, 1 year ago) |
|---|
-
main.c
old new 317 317 int n; 318 318 char **p; 319 319 320 if (!resolv_conf_search_domains) { 321 avahi_server_set_browse_domains(avahi_server, NULL); 322 return; 323 } 324 320 325 l = avahi_string_list_copy(config.server_config.browse_domains); 321 326 322 327 for (p = resolv_conf_search_domains, n = 0; *p && n < BROWSE_DOMAINS_MAX; p++, n++) {
