avahi-0.8-30.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/etc/avahi/avahi-autoipd.action:38:17: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   36|   METRIC=$((1000 + `cat "/sys/class/net/$2/ifindex" 2>/dev/null || echo 0`))
#   37|   
#   38|-> if [ -x /bin/ip -o -x /sbin/ip ] ; then
#   39|   
#   40|       # We have the Linux ip tool from the iproute package

Error: SHELLCHECK_WARNING (CWE-477): [#def2]
/etc/avahi/avahi-autoipd.action:60:25: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#   58|       esac
#   59|   
#   60|-> elif [ -x /bin/ifconfig -o -x /sbin/ifconfig ] ; then
#   61|   
#   62|       # We have the old ifconfig tool

Error: COMPILER_WARNING (CWE-252): [#def3]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:189:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
#  189 |         read(fd, &seed, sizeof(seed));
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  187|        * booted at the same time choose different random seeds.  */
#  188|       if ((fd = open(RANDOM_DEVICE, O_RDONLY)) >= 0) {
#  189|->         read(fd, &seed, sizeof(seed));
#  190|           close(fd);
#  191|       }

Error: GCC_ANALYZER_WARNING (CWE-617): [#def4]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c: scope_hint: In function ‘fork_dispatcher’
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:843:13: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
avahi-0.8-build/avahi-0.8/avahi-common/malloc.h:28: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:68: included_from: Included from here.
#  841|               }
#  842|   
#  843|->             assert(info.event <= CALLOUT_MAX);
#  844|   
#  845|               if (!if_indextoname(info.ifindex, name)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:892:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
#  890|       }
#  891|   
#  892|->     return ret;
#  893|   
#  894|   fail:

Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:892:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
#  890|       }
#  891|   
#  892|->     return ret;
#  893|   
#  894|   fail:

Error: COMPILER_WARNING (CWE-252): [#def7]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c: scope_hint: In function ‘drop_privs’
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:967:9: warning[-Wunused-result]: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’
#  967 |         chown(AVAHI_IPDATA_DIR, pw->pw_uid, gr->gr_gid);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  965|           struct stat st;
#  966|   
#  967|->         chown(AVAHI_IPDATA_DIR, pw->pw_uid, gr->gr_gid);
#  968|   
#  969|           if (stat(AVAHI_IPDATA_DIR, &st) < 0) {

Error: COMPILER_WARNING (CWE-252): [#def8]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:989:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  989 |         chdir("/");
#      |         ^~~~~~~~~~
#  987|   
#  988|           daemon_log(LOG_INFO, "Successfully called chroot().");
#  989|->         chdir("/");
#  990|   
#  991|           /* Since we are now trapped inside a chroot we cannot remove

Error: COMPILER_WARNING (CWE-252): [#def9]
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c: scope_hint: In function ‘main’
avahi-0.8-build/avahi-0.8/avahi-autoipd/main.c:1658:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1658 |         chdir("/");
#      |         ^~~~~~~~~~
# 1656|               daemon_log_use = DAEMON_LOG_SYSLOG;
# 1657|   
# 1658|->         chdir("/");
# 1659|   
# 1660|           if (daemon_pid_file_create() < 0) {

Error: CPPCHECK_WARNING (CWE-664): [#def10]
avahi-0.8-build/avahi-0.8/avahi-common/malloc.c:214: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
#  212|           va_list ap2;
#  213|   
#  214|->         va_copy (ap2, ap);
#  215|           n = vsnprintf(buf, len, fmt, ap2);
#  216|           va_end (ap2);

Error: CPPCHECK_WARNING (CWE-664): [#def11]
avahi-0.8-build/avahi-0.8/avahi-common/malloc.c:215: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
#  213|   
#  214|           va_copy (ap2, ap);
#  215|->         n = vsnprintf(buf, len, fmt, ap2);
#  216|           va_end (ap2);
#  217|   

Error: CPPCHECK_WARNING (CWE-664): [#def12]
avahi-0.8-build/avahi-0.8/avahi-common/malloc.c:216: error[va_list_usedBeforeStarted]: va_list 'ap2' used before va_start() was called.
#  214|           va_copy (ap2, ap);
#  215|           n = vsnprintf(buf, len, fmt, ap2);
#  216|->         va_end (ap2);
#  217|   
#  218|           if (n >= 0 && n < (int) len)

Error: COMPILER_WARNING (CWE-252): [#def13]
avahi-0.8-build/avahi-0.8/avahi-common/simple-watch.c: scope_hint: In function 'avahi_simple_poll_wakeup'
avahi-0.8-build/avahi-0.8/avahi-common/simple-watch.c:101:5: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result'
#  101 |     write(s->wakeup_pipe[1], &c, sizeof(c));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   99|       assert(s);
#  100|   
#  101|->     write(s->wakeup_pipe[1], &c, sizeof(c));
#  102|       s->wakeup_issued = 1;
#  103|   }

Error: COMPILER_WARNING (CWE-252): [#def14]
avahi-0.8-build/avahi-0.8/avahi-common/simple-watch.c: scope_hint: In function ‘avahi_simple_poll_wakeup’
avahi-0.8-build/avahi-0.8/avahi-common/simple-watch.c:101:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#  101 |     write(s->wakeup_pipe[1], &c, sizeof(c));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   99|       assert(s);
#  100|   
#  101|->     write(s->wakeup_pipe[1], &c, sizeof(c));
#  102|       s->wakeup_issued = 1;
#  103|   }

Error: COMPILER_WARNING (CWE-843): [#def15]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'client_callback'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:325:18: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_result (*)(void)' {aka 'int (*)(void)'} to 'sw_result (*)(struct _sw_discovery *, sw_discovery_oid,  sw_discovery_browse_status,  sw_uint32,  const char *, const char *, const char *, void *)' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_browse_status,  unsigned int,  const char *, const char *, const char *, void *)'}
#  325 |                 ((sw_discovery_browse_reply) self->oid_table[oid].reply)(self, oid, SW_DISCOVERY_BROWSE_INVALID, 0, NULL, NULL, NULL, self->oid_table[oid].extra);
#      |                  ^
#  323|               case OID_DOMAIN_BROWSER:
#  324|               case OID_SERVICE_BROWSER:
#  325|->                 ((sw_discovery_browse_reply) self->oid_table[oid].reply)(self, oid, SW_DISCOVERY_BROWSE_INVALID, 0, NULL, NULL, NULL, self->oid_table[oid].extra);
#  326|                   break;
#  327|   

Error: COMPILER_WARNING (CWE-843): [#def16]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'reg_report_status'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:636:13: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_result (*)(void)' {aka 'int (*)(void)'} to 'sw_result (*)(struct _sw_discovery *, sw_discovery_oid,  sw_discovery_publish_status,  void *)' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_publish_status,  void *)'}
#  636 |     reply = (sw_discovery_publish_reply) data->reply;
#      |             ^
#  634|       assert(data);
#  635|   
#  636|->     reply = (sw_discovery_publish_reply) data->reply;
#  637|   
#  638|       reply(data->discovery,

Error: COMPILER_WARNING (CWE-843): [#def17]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_publish'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:798:19: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_discovery_publish_reply' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_publish_status,  void *)'} to 'sw_result (*)(void)' {aka 'int (*)(void)'}
#  798 |     data->reply = (sw_result (*)(void)) reply;
#      |                   ^
#  796|       data = oid_get(self, *oid);
#  797|       assert(data);
#  798|->     data->reply = (sw_result (*)(void)) reply;
#  799|       data->extra = extra;
#  800|       data->service_data = sdata;

Error: COMPILER_WARNING (CWE-843): [#def18]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'domain_browser_callback'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:857:13: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_result (*)(void)' {aka 'int (*)(void)'} to 'sw_result (*)(struct _sw_discovery *, sw_discovery_oid,  sw_discovery_browse_status,  sw_uint32,  const char *, const char *, const char *, void *)' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_browse_status,  unsigned int,  const char *, const char *, const char *, void *)'}
#  857 |     reply = (sw_discovery_browse_reply) data->reply;
#      |             ^
#  855|       assert(data);
#  856|   
#  857|->     reply = (sw_discovery_browse_reply) data->reply;
#  858|   
#  859|       domain  = add_trailing_dot(domain, domain_fixed, sizeof(domain_fixed));

Error: COMPILER_WARNING (CWE-843): [#def19]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_browse_domains'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:902:19: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_discovery_browse_reply' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_browse_status,  unsigned int,  const char *, const char *, const char *, void *)'} to 'sw_result (*)(void)' {aka 'int (*)(void)'}
#  902 |     data->reply = (sw_result (*)(void)) reply;
#      |                   ^
#  900|       data = oid_get(self, *oid);
#  901|       assert(data);
#  902|->     data->reply = (sw_result (*)(void)) reply;
#  903|       data->extra = extra;
#  904|   

Error: COMPILER_WARNING (CWE-843): [#def20]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'service_resolver_callback'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:948:13: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_result (*)(void)' {aka 'int (*)(void)'} to 'sw_result (*)(struct _sw_discovery *, sw_discovery_oid,  sw_uint32,  const char *, const char *, const char *, sw_ipv4_address,  sw_port,  sw_uint8 *, sw_uint32,  void *)' {aka 'int (*)(struct _sw_discovery *, unsigned int,  unsigned int,  const char *, const char *, const char *, struct _sw_ipv4_address,  short unsigned int,  unsigned char *, unsigned int,  void *)'}
#  948 |     reply = (sw_discovery_resolve_reply) data->reply;
#      |             ^
#  946|       assert(data);
#  947|   
#  948|->     reply = (sw_discovery_resolve_reply) data->reply;
#  949|   
#  950|       switch (event) {

Error: COMPILER_WARNING (CWE-843): [#def21]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_resolve'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:1011:19: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_discovery_resolve_reply' {aka 'int (*)(struct _sw_discovery *, unsigned int,  unsigned int,  const char *, const char *, const char *, struct _sw_ipv4_address,  short unsigned int,  unsigned char *, unsigned int,  void *)'} to 'sw_result (*)(void)' {aka 'int (*)(void)'}
# 1011 |     data->reply = (sw_result (*)(void)) reply;
#      |                   ^
# 1009|       data = oid_get(self, *oid);
# 1010|       assert(data);
# 1011|->     data->reply = (sw_result (*)(void)) reply;
# 1012|       data->extra = extra;
# 1013|   

Error: COMPILER_WARNING (CWE-843): [#def22]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'service_browser_callback'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:1054:13: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_result (*)(void)' {aka 'int (*)(void)'} to 'sw_result (*)(struct _sw_discovery *, sw_discovery_oid,  sw_discovery_browse_status,  sw_uint32,  const char *, const char *, const char *, void *)' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_browse_status,  unsigned int,  const char *, const char *, const char *, void *)'}
# 1054 |     reply = (sw_discovery_browse_reply) data->reply;
#      |             ^
# 1052|       assert(data);
# 1053|   
# 1054|->     reply = (sw_discovery_browse_reply) data->reply;
# 1055|   
# 1056|       type = add_trailing_dot(type, type_fixed, sizeof(type_fixed));

Error: COMPILER_WARNING (CWE-843): [#def23]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_browse'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/compat.c:1103:19: warning[-Wcast-function-type]: cast between incompatible function types from 'sw_discovery_browse_reply' {aka 'int (*)(struct _sw_discovery *, unsigned int,  enum _sw_discovery_browse_status,  unsigned int,  const char *, const char *, const char *, void *)'} to 'sw_result (*)(void)' {aka 'int (*)(void)'}
# 1103 |     data->reply = (sw_result (*)(void)) reply;
#      |                   ^
# 1101|       data = oid_get(self, *oid);
# 1102|       assert(data);
# 1103|->     data->reply = (sw_result (*)(void)) reply;
# 1104|       data->extra = extra;
# 1105|   

Error: COMPILER_WARNING: [#def24]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/salt.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/text.c:30: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/platform.h:411:1: warning[-Wstrict-prototypes]: function declaration isn't a prototype
#  411 | sw_strerror();
#      | ^~~~~~~~~~~
#  409|   
#  410|   sw_const_string
#  411|-> sw_strerror();
#  412|   
#  413|   

Error: COMPILER_WARNING: [#def25]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/salt.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/address.c:34: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/platform.h:411:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
#  411 | sw_strerror();
#      | ^~~~~~~~~~~
#  409|   
#  410|   sw_const_string
#  411|-> sw_strerror();
#  412|   
#  413|   

Error: COMPILER_WARNING (CWE-563): [#def26]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:46:73: warning[-Wunused-parameter]: unused parameter ‘extra’
#   46 |                                 sw_opaque_t                             extra)
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   44|   				sw_octets				text_record,
#   45|   				sw_uint32				text_record_len,
#   46|-> 				sw_opaque_t				extra)
#   47|   {
#   48|   	sw_text_record_iterator				it;

Error: COMPILER_WARNING (CWE-563): [#def27]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:51:81: warning[-Wunused-variable]: unused variable ‘sval’
#   51 |         sw_int8                                                                 sval[SW_TEXT_RECORD_MAX_LEN];
#      |                                                                                 ^~~~
#   49|   	sw_int8									name_buf[16];
#   50|   	sw_int8									key[SW_TEXT_RECORD_MAX_LEN];
#   51|-> 	sw_int8									sval[SW_TEXT_RECORD_MAX_LEN];
#   52|   	sw_uint8									oval[SW_TEXT_RECORD_MAX_LEN];
#   53|   	sw_uint32								oval_len;

Error: COMPILER_WARNING (CWE-681): [#def28]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c: scope_hint: In function ‘my_resolver’
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:58:132: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
#   58 |         fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
#      |                                                                                                                                    ^~~~~~~~
#      |                                                                                                                                    |
#      |                                                                                                                                    sw_int8 * {aka signed char *}
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
#  104 |                                 sw_string                       name,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#   56|   	sw_discovery_cancel(discovery, oid);
#   57|   
#   58|-> 	fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
#   59|   
#   60|   	if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))

Error: COMPILER_WARNING (CWE-681): [#def29]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:65:57: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_text_record_iterator_next’ differ in signedness
#   65 |                 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
#      |                                                         ^~~
#      |                                                         |
#      |                                                         sw_int8 * {aka signed char *}
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/discovery/text_record.h:112:97: note: expected ‘char *’ but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
#  112 |                                 char                                                            key[SW_TEXT_RECORD_MAX_LEN],
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#   63|   		sw_check_okay(err, exit);
#   64|   
#   65|-> 		while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
#   66|   		{
#   67|   			fprintf(stderr, "Txt: [%s]=[%s] - (%d bytes)\n", key, oval, oval_len);

Error: COMPILER_WARNING (CWE-563): [#def30]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c: scope_hint: In function ‘my_browser’
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:83:89: warning[-Wunused-parameter]: unused parameter ‘oid’
#   83 |                                 sw_discovery_oid                                        oid,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
#   81|   my_browser(
#   82|   				sw_discovery						discovery,
#   83|-> 				sw_discovery_oid					oid,
#   84|   				sw_discovery_browse_status		status,
#   85|   				sw_uint32							interface_index,

Error: COMPILER_WARNING (CWE-563): [#def31]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/browse.c:89:97: warning[-Wunused-parameter]: unused parameter ‘extra’
#   89 |                                 sw_opaque_t                                                     extra)
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   87|   				sw_const_string					type,
#   88|   				sw_const_string					domain,
#   89|-> 				sw_opaque_t							extra)
#   90|   {
#   91|   	sw_discovery_resolve_id rid;

Error: COMPILER_WARNING (CWE-563): [#def32]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:35:89: warning[-Wunused-parameter]: unused parameter ‘discovery’
#   35 |                                 sw_discovery                                            discovery,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
#   33|   static sw_result HOWL_API
#   34|   my_service_reply(
#   35|-> 				sw_discovery						discovery,
#   36|   				sw_discovery_oid					oid,
#   37|   				sw_discovery_publish_status	status,

Error: COMPILER_WARNING (CWE-563): [#def33]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:36:89: warning[-Wunused-parameter]: unused parameter ‘oid’
#   36 |                                 sw_discovery_oid                                        oid,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
#   34|   my_service_reply(
#   35|   				sw_discovery						discovery,
#   36|-> 				sw_discovery_oid					oid,
#   37|   				sw_discovery_publish_status	status,
#   38|   				sw_opaque							extra)

Error: COMPILER_WARNING (CWE-563): [#def34]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:38:97: warning[-Wunused-parameter]: unused parameter ‘extra’
#   38 |                                 sw_opaque                                                       extra)
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   36|   				sw_discovery_oid					oid,
#   37|   				sw_discovery_publish_status	status,
#   38|-> 				sw_opaque							extra)
#   39|   {
#   40|   	static sw_string

Error: COMPILER_WARNING (CWE-704): [#def35]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c: scope_hint: In function ‘my_service_reply’
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:43:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   43 |                 "Started",
#      |                 ^~~~~~~~~
#   41|   	status_text[] =
#   42|   	{
#   43|-> 		"Started",
#   44|   		"Stopped",
#   45|   		"Name Collision",

Error: COMPILER_WARNING (CWE-704): [#def36]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:44:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   44 |                 "Stopped",
#      |                 ^~~~~~~~~
#   42|   	{
#   43|   		"Started",
#   44|-> 		"Stopped",
#   45|   		"Name Collision",
#   46|   		"Invalid"

Error: COMPILER_WARNING (CWE-704): [#def37]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:45:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   45 |                 "Name Collision",
#      |                 ^~~~~~~~~~~~~~~~
#   43|   		"Started",
#   44|   		"Stopped",
#   45|-> 		"Name Collision",
#   46|   		"Invalid"
#   47|   	};

Error: COMPILER_WARNING (CWE-704): [#def38]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/publish.c:46:17: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   46 |                 "Invalid"
#      |                 ^~~~~~~~~
#   44|   		"Stopped",
#   45|   		"Name Collision",
#   46|-> 		"Invalid"
#   47|   	};
#   48|   

Error: COMPILER_WARNING (CWE-563): [#def39]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:36:105: warning[-Wunused-parameter]: unused parameter ‘session’
#   36 |                                 sw_discovery                                                            session,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
#   34|   static sw_result HOWL_API
#   35|   query_record_reply(
#   36|-> 				sw_discovery								session,
#   37|   				sw_discovery_oid							oid,
#   38|   				sw_discovery_query_record_status		status,

Error: COMPILER_WARNING (CWE-563): [#def40]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:37:105: warning[-Wunused-parameter]: unused parameter ‘oid’
#   37 |                                 sw_discovery_oid                                                        oid,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
#   35|   query_record_reply(
#   36|   				sw_discovery								session,
#   37|-> 				sw_discovery_oid							oid,
#   38|   				sw_discovery_query_record_status		status,
#   39|   				sw_uint32									interface_index,

Error: COMPILER_WARNING (CWE-563): [#def41]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:38:81: warning[-Wunused-parameter]: unused parameter ‘status’
#   38 |                                 sw_discovery_query_record_status                status,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
#   36|   				sw_discovery								session,
#   37|   				sw_discovery_oid							oid,
#   38|-> 				sw_discovery_query_record_status		status,
#   39|   				sw_uint32									interface_index,
#   40|   				sw_const_string							fullname,

Error: COMPILER_WARNING (CWE-563): [#def42]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:43:113: warning[-Wunused-parameter]: unused parameter ‘rrdatalen’
#   43 |                                 sw_uint16                                                                       rrdatalen,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
#   41|   				sw_uint16									rrtype,
#   42|   				sw_uint16									rrclass,
#   43|-> 				sw_uint16									rrdatalen,
#   44|   				sw_const_octets							rrdata,
#   45|   				sw_uint32									ttl,

Error: COMPILER_WARNING (CWE-563): [#def43]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:45:113: warning[-Wunused-parameter]: unused parameter ‘ttl’
#   45 |                                 sw_uint32                                                                       ttl,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
#   43|   				sw_uint16									rrdatalen,
#   44|   				sw_const_octets							rrdata,
#   45|-> 				sw_uint32									ttl,
#   46|   				sw_opaque									extra)
#   47|   {

Error: COMPILER_WARNING (CWE-563): [#def44]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:46:113: warning[-Wunused-parameter]: unused parameter ‘extra’
#   46 |                                 sw_opaque                                                                       extra)
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   44|   				sw_const_octets							rrdata,
#   45|   				sw_uint32									ttl,
#   46|-> 				sw_opaque									extra)
#   47|   {
#   48|   	sw_ipv4_address address;

Error: COMPILER_WARNING (CWE-563): [#def45]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:48:25: warning[-Wunused-variable]: unused variable ‘address’
#   48 |         sw_ipv4_address address;
#      |                         ^~~~~~~
#   46|   				sw_opaque									extra)
#   47|   {
#   48|-> 	sw_ipv4_address address;
#   49|   
#   50|   	fprintf(stderr, "interface index = 0x%x, fullname is %s\n", interface_index, fullname);

Error: COMPILER_WARNING (CWE-694): [#def46]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c: scope_hint: In function ‘query_record_reply’
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:54:33: warning[-Wshadow]: declaration of ‘address’ shadows a previous local
#   54 |                 sw_ipv4_address address;
#      |                                 ^~~~~~~
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:48:25: note: shadowed declaration is here
#   48 |         sw_ipv4_address address;
#      |                         ^~~~~~~
#   52|   	if ((rrtype == 1) && (rrclass == 1))
#   53|   	{
#   54|-> 		sw_ipv4_address	address;
#   55|   		sw_char				name[16];
#   56|   

Error: COMPILER_WARNING (CWE-681): [#def47]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:59:82: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
#   59 |                 fprintf(stderr, "address is %s\n", sw_ipv4_address_name(address, name, sizeof(name)));
#      |                                                                                  ^~~~
#      |                                                                                  |
#      |                                                                                  sw_int8 * {aka signed char *}
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
#  104 |                                 sw_string                       name,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#   57|   		sw_ipv4_address_init_from_saddr(&address, *(sw_saddr*) rrdata);
#   58|   
#   59|-> 		fprintf(stderr, "address is %s\n", sw_ipv4_address_name(address, name, sizeof(name)));
#   60|   	}
#   61|   

Error: COMPILER_WARNING (CWE-563): [#def48]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/resolve.c:46:73: warning[-Wunused-parameter]: unused parameter ‘extra’
#   46 |                                 sw_opaque_t                             extra)
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   44|   				sw_octets				text_record,
#   45|   				sw_uint32				text_record_len,
#   46|-> 				sw_opaque_t				extra)
#   47|   {
#   48|   	sw_text_record_iterator				it;

Error: COMPILER_WARNING (CWE-563): [#def49]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/resolve.c:51:81: warning[-Wunused-variable]: unused variable ‘sval’
#   51 |         sw_int8                                                                 sval[SW_TEXT_RECORD_MAX_LEN];
#      |                                                                                 ^~~~
#   49|   	sw_int8									name_buf[16];
#   50|   	sw_int8									key[SW_TEXT_RECORD_MAX_LEN];
#   51|-> 	sw_int8									sval[SW_TEXT_RECORD_MAX_LEN];
#   52|   	sw_uint8									oval[SW_TEXT_RECORD_MAX_LEN];
#   53|   	sw_uint32								oval_len;

Error: COMPILER_WARNING (CWE-681): [#def50]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/resolve.c: scope_hint: In function ‘my_resolver’
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/resolve.c:58:132: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_ipv4_address_name’ differ in signedness
#   58 |         fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
#      |                                                                                                                                    ^~~~~~~~
#      |                                                                                                                                    |
#      |                                                                                                                                    sw_int8 * {aka signed char *}
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/salt/address.h:104:65: note: expected ‘sw_string’ {aka ‘char *’} but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
#  104 |                                 sw_string                       name,
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#   56|   	sw_discovery_cancel(discovery, oid);
#   57|   
#   58|-> 	fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
#   59|   
#   60|   	if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))

Error: COMPILER_WARNING (CWE-681): [#def51]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/resolve.c:65:57: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘sw_text_record_iterator_next’ differ in signedness
#   65 |                 while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
#      |                                                         ^~~
#      |                                                         |
#      |                                                         sw_int8 * {aka signed char *}
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-howl/include/discovery/text_record.h:112:97: note: expected ‘char *’ but argument is of type ‘sw_int8 *’ {aka ‘signed char *’}
#  112 |                                 char                                                            key[SW_TEXT_RECORD_MAX_LEN],
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
#   63|   		sw_check_okay(err, exit);
#   64|   
#   65|-> 		while (sw_text_record_iterator_next(it, key, oval, &oval_len) == SW_OKAY)
#   66|   		{
#   67|   			fprintf(stderr, "key = %s, data is %d bytes\n", key, oval_len);

Error: COMPILER_WARNING: [#def52]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/unsupported.c: scope_hint: In function 'sw_strerror'
avahi-0.8-build/avahi-0.8/avahi-compat-howl/unsupported.c:62:17: warning[-Wold-style-definition]: old-style function definition
#   60|   
#   61|   AVAHI_GCC_NORETURN
#   62|-> sw_const_string sw_strerror(/* howl sucks */) {
#   63|       AVAHI_WARN_UNSUPPORTED_ABORT;
#   64|   }

Error: COMPILER_WARNING: [#def53]
avahi-0.8-build/avahi-0.8/avahi-compat-howl/unsupported.c: scope_hint: At top level
avahi-0.8-build/avahi-0.8/avahi-compat-howl/unsupported.c:62:17: warning[-Wstrict-prototypes]: function declaration isn't a prototype
#   62 | sw_const_string sw_strerror(/* howl sucks */) {
#      |                 ^~~~~~~~~~~
#   60|   
#   61|   AVAHI_GCC_NORETURN
#   62|-> sw_const_string sw_strerror(/* howl sucks */) {
#   63|       AVAHI_WARN_UNSUPPORTED_ABORT;
#   64|   }

Error: COMPILER_WARNING: [#def54]
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c: scope_hint: In function 'DNSServiceBrowse'
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support '__FUNCTION__' predefined identifier
#   33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#      |                                                                                  ^~~~~~~~~~~~
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro 'AVAHI_WARN_UNSUPPORTED'
#  622 |         AVAHI_WARN_UNSUPPORTED;
#      |         ^~~~~~~~~~~~~~~~~~~~~~
#   31|   
#   32|   #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
#   33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#   34|   #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
#   35|   

Error: COMPILER_WARNING: [#def55]
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘DNSServiceBrowse’
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support ‘__FUNCTION__’ predefined identifier
#   33 | #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#      |                                                                                  ^~~~~~~~~~~~
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro ‘AVAHI_WARN_UNSUPPORTED’
#  622 |         AVAHI_WARN_UNSUPPORTED;
#      |         ^~~~~~~~~~~~~~~~~~~~~~
#   31|   
#   32|   #define AVAHI_WARN_LINKAGE do { avahi_warn_linkage(); } while(0)
#   33|-> #define AVAHI_WARN_UNSUPPORTED do { avahi_warn_linkage(); avahi_warn_unsupported(__FUNCTION__); } while(0)
#   34|   #define AVAHI_WARN_UNSUPPORTED_ABORT do { AVAHI_WARN_UNSUPPORTED; abort(); } while(0)
#   35|   

Error: GCC_ANALYZER_WARNING (CWE-479): [#def56]
avahi-0.8-build/avahi-0.8/avahi-core/dns-spin-test.c: scope_hint: In function ‘fail’
avahi-0.8-build/avahi-0.8/avahi-core/dns-spin-test.c:76:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
avahi-0.8-build/avahi-0.8/avahi-core/dns-spin-test.c:76:5: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#   74|       printf("\n");
#   75|   
#   76|->     exit(EXIT_FAILURE);
#   77|   }
#   78|   

Error: COMPILER_WARNING: [#def57]
avahi-0.8-build/avahi-0.8/avahi-core/entry.c: scope_hint: In function 'server_add_dns_server_name'
avahi-0.8-build/avahi-0.8/avahi-core/entry.c:931:32: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 1013 bytes into a region of size between 997 and 1001
#  931 |     snprintf(t, sizeof(t), "%s.%s", type == AVAHI_DNS_SERVER_RESOLVE ? "_domain._udp" : "_dns-update._udp", normalized_d);
#      |                                ^~                                                                           ~~~~~~~~~~~~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 14 and 1031 bytes into a destination of size 1014
#   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   69 |                                    __glibc_objsize (__s), __fmt,
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70 |                                    __va_arg_pack ());
#      |                                    ~~~~~~~~~~~~~~~~~
#  929|       AVAHI_ASSERT_TRUE(avahi_normalize_name(domain, normalized_d, sizeof(normalized_d)));
#  930|   
#  931|->     snprintf(t, sizeof(t), "%s.%s", type == AVAHI_DNS_SERVER_RESOLVE ? "_domain._udp" : "_dns-update._udp", normalized_d);
#  932|   
#  933|       if (!(r = avahi_record_new_full(t, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_SRV, AVAHI_DEFAULT_TTL_HOST_NAME))) {

Error: COMPILER_WARNING: [#def58]
avahi-0.8-build/avahi-0.8/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.8-build/avahi-0.8/avahi-core/entry.c:982:36: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 63 bytes into a region of size 61
#  982 |         snprintf(n, sizeof(n), "ip-%s.%s", h, domain);
#      |                                    ^~      ~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 5 or more bytes (assuming 68) into a destination of size 64
#   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   69 |                                    __glibc_objsize (__s), __fmt,
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70 |                                    __va_arg_pack ());
#      |                                    ~~~~~~~~~~~~~~~~~
#  980|       if (address->proto == AVAHI_PROTO_INET) {
#  981|           hexstring(h, sizeof(h), &address->data, sizeof(AvahiIPv4Address));
#  982|->         snprintf(n, sizeof(n), "ip-%s.%s", h, domain);
#  983|           r = avahi_record_new_full(n, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_A, AVAHI_DEFAULT_TTL_HOST_NAME);
#  984|           r->data.a.address = address->data.ipv4;

Error: COMPILER_WARNING: [#def59]
avahi-0.8-build/avahi-0.8/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.8-build/avahi-0.8/avahi-core/entry.c:987:37: warning[-Wformat-truncation=]: '%s' directive output may be truncated writing up to 63 bytes into a region of size 60
#  987 |         snprintf(n, sizeof(n), "ip6-%s.%s", h, domain);
#      |                                     ^~      ~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 6 or more bytes (assuming 69) into a destination of size 64
#   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   69 |                                    __glibc_objsize (__s), __fmt,
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70 |                                    __va_arg_pack ());
#      |                                    ~~~~~~~~~~~~~~~~~
#  985|       } else {
#  986|           hexstring(h, sizeof(h), &address->data, sizeof(AvahiIPv6Address));
#  987|->         snprintf(n, sizeof(n), "ip6-%s.%s", h, domain);
#  988|           r = avahi_record_new_full(n, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_AAAA, AVAHI_DEFAULT_TTL_HOST_NAME);
#  989|           r->data.aaaa.address = address->data.ipv6;

Error: COMPILER_WARNING: [#def60]
avahi-0.8-build/avahi-0.8/avahi-core/iface.c: scope_hint: In function 'avahi_hw_interface_update_rrs'
avahi-0.8-build/avahi-0.8/avahi-core/iface.c:143:45: warning[-Wformat-truncation=]: ' [' directive output may be truncated writing 2 bytes into a region of size between 1 and 64
#  143 |             snprintf(name, sizeof(name), "%s [%s]", unescaped, mac);
#      |                                             ^~
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 4 and 322 bytes into a destination of size 64
#   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   69 |                                    __glibc_objsize (__s), __fmt,
#      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   70 |                                    __va_arg_pack ());
#      |                                    ~~~~~~~~~~~~~~~~~
#  141|               avahi_unescape_label(&p, unescaped, sizeof(unescaped));
#  142|               avahi_format_mac_address(mac, sizeof(mac), hw->mac_address, hw->mac_address_size);
#  143|->             snprintf(name, sizeof(name), "%s [%s]", unescaped, mac);
#  144|   
#  145|               if (avahi_server_add_service(m->server, hw->entry_group, hw->index, AVAHI_PROTO_UNSPEC, 0, name, "_workstation._tcp", NULL, NULL, 9, NULL) < 0) {

Error: GCC_ANALYZER_WARNING (CWE-131): [#def61]
avahi-0.8-build/avahi-0.8/avahi-core/socket.c: scope_hint: In function 'sendmsg_loop'
avahi-0.8-build/avahi-0.8/avahi-core/socket.c:457:38: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
avahi-0.8-build/avahi-0.8/avahi-core/socket.c:35: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-core/socket.c:25: included_from: Included from here.
#  455|           if (errno != EAGAIN) {
#  456|               char where[64];
#  457|->             struct sockaddr_storage *ss = msg->msg_name;
#  458|   
#  459|               if (ss->ss_family == PF_INET) {

Error: COMPILER_WARNING (CWE-252): [#def62]
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c: scope_hint: In function ‘run_server’
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c:1208:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1208 |         chdir("/");
#      |         ^~~~~~~~~~
# 1206|   
# 1207|           avahi_log_info("Successfully called chroot().");
# 1208|->         chdir("/");
# 1209|   
# 1210|           if (avahi_caps_drop_all() < 0) {

Error: COMPILER_WARNING (CWE-252): [#def63]
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c: scope_hint: In function ‘make_runtime_dir’
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c:1434:5: warning[-Wunused-result]: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’
# 1434 |     chown(AVAHI_DAEMON_RUNTIME_DIR, pw->pw_uid, gr->gr_gid);
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1432|       }
# 1433|   
# 1434|->     chown(AVAHI_DAEMON_RUNTIME_DIR, pw->pw_uid, gr->gr_gid);
# 1435|   
# 1436|       if (stat(AVAHI_DAEMON_RUNTIME_DIR, &st) < 0) {

Error: COMPILER_WARNING (CWE-252): [#def64]
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c:1499:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
# 1499 |         read(fd, &seed, sizeof(seed));
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1497|        * booted at the same time choose different random seeds.  */
# 1498|       if ((fd = open(RANDOM_DEVICE, O_RDONLY)) >= 0) {
# 1499|->         read(fd, &seed, sizeof(seed));
# 1500|           close(fd);
# 1501|       }

Error: COMPILER_WARNING (CWE-252): [#def65]
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c: scope_hint: In function ‘main’
avahi-0.8-build/avahi-0.8/avahi-daemon/main.c:1673:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
# 1673 |         chdir("/");
#      |         ^~~~~~~~~~
# 1671|               enforce_rlimits();
# 1672|   
# 1673|->         chdir("/");
# 1674|   
# 1675|   #ifdef ENABLE_CHROOT

Error: COMPILER_WARNING: [#def66]
avahi-0.8-build/avahi-0.8/avahi-daemon/sd-daemon.c: scope_hint: In function ‘sd_notify’
avahi-0.8-build/avahi-0.8/avahi-daemon/sd-daemon.c:359:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 108 equals destination size
#  359 |         strncpy(sockaddr.un.sun_path, e, sizeof(sockaddr.un.sun_path));
#      |         ^
#  357|           memset(&sockaddr, 0, sizeof(sockaddr));
#  358|           sockaddr.sa.sa_family = AF_UNIX;
#  359|->         strncpy(sockaddr.un.sun_path, e, sizeof(sockaddr.un.sun_path));
#  360|   
#  361|           if (sockaddr.un.sun_path[0] == '@')

Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c: scope_hint: In function ‘simple_protocol_setup’
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c:510:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*server.fd’
avahi-0.8-build/avahi-0.8/avahi-common/malloc.h:28: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c:36: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c:455:14: note: in expansion of macro ‘avahi_new’
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c: scope_hint: In function ‘simple_protocol_setup’
#  508|           server->remove_socket = 1;
#  509|   
#  510|->         if (listen(server->fd, SOMAXCONN) < 0) {
#  511|               avahi_log_warn("listen(): %s", strerror(errno));
#  512|               goto fail;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def68]
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c:516:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*server.fd’
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c:455:14: note: in expansion of macro ‘avahi_new’
avahi-0.8-build/avahi-0.8/avahi-daemon/simple-protocol.c: scope_hint: In function ‘simple_protocol_setup’
#  514|       }
#  515|   
#  516|->     umask(u);
#  517|   
#  518|       server->watch = poll_api->watch_new(poll_api, server->fd, AVAHI_WATCH_IN, server_work, server);

Error: COMPILER_WARNING (CWE-252): [#def69]
avahi-0.8-build/avahi-0.8/avahi-dnsconfd/main.c: scope_hint: In function ‘main’
avahi-0.8-build/avahi-0.8/avahi-dnsconfd/main.c:618:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
#  618 |         chdir("/");
#      |         ^~~~~~~~~~
#  616|               daemon_log_use = DAEMON_LOG_SYSLOG;
#  617|   
#  618|->         chdir("/");
#  619|   
#  620|           if (daemon_pid_file_create() < 0) {

Error: COMPILER_WARNING (CWE-477): [#def70]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function 'prepare_func'
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  267|   
#  268|       if ((next_timeout = find_next_timeout(g))) {
#  269|->         GTimeVal now;
#  270|           struct timeval tvnow;
#  271|           AvahiUsec usec;

Error: COMPILER_WARNING (CWE-477): [#def71]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function ‘prepare_func’
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
#  269 |         GTimeVal now;
#      |         ^~~~~~~~
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  580 | struct _GTimeVal
#      |        ^~~~~~~~~
#  267|   
#  268|       if ((next_timeout = find_next_timeout(g))) {
#  269|->         GTimeVal now;
#  270|           struct timeval tvnow;
#  271|           AvahiUsec usec;

Error: COMPILER_WARNING (CWE-477): [#def72]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  271|           AvahiUsec usec;
#  272|   
#  273|->         g_source_get_current_time(source, &now);
#  274|           tvnow.tv_sec = now.tv_sec;
#  275|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING (CWE-477): [#def73]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
#  273 |         g_source_get_current_time(source, &now);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  799 | void     g_source_get_current_time (GSource        *source,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
#  271|           AvahiUsec usec;
#  272|   
#  273|->         g_source_get_current_time(source, &now);
#  274|           tvnow.tv_sec = now.tv_sec;
#  275|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING (CWE-477): [#def74]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function 'check_func'
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  297|   
#  298|       if ((next_timeout = find_next_timeout(g))) {
#  299|->         GTimeVal now;
#  300|           struct timeval tvnow;
#  301|           g_source_get_current_time(source, &now);

Error: COMPILER_WARNING (CWE-477): [#def75]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function ‘check_func’
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
#  299 |         GTimeVal now;
#      |         ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  580 | struct _GTimeVal
#      |        ^~~~~~~~~
#  297|   
#  298|       if ((next_timeout = find_next_timeout(g))) {
#  299|->         GTimeVal now;
#  300|           struct timeval tvnow;
#  301|           g_source_get_current_time(source, &now);

Error: COMPILER_WARNING (CWE-477): [#def76]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  299|           GTimeVal now;
#  300|           struct timeval tvnow;
#  301|->         g_source_get_current_time(source, &now);
#  302|           tvnow.tv_sec = now.tv_sec;
#  303|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING (CWE-477): [#def77]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
#  301 |         g_source_get_current_time(source, &now);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  799 | void     g_source_get_current_time (GSource        *source,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
#  299|           GTimeVal now;
#  300|           struct timeval tvnow;
#  301|->         g_source_get_current_time(source, &now);
#  302|           tvnow.tv_sec = now.tv_sec;
#  303|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING (CWE-477): [#def78]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function 'dispatch_func'
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  322|   
#  323|       if ((next_timeout = find_next_timeout(g))) {
#  324|->         GTimeVal now;
#  325|           struct timeval tvnow;
#  326|           g_source_get_current_time(source, &now);

Error: COMPILER_WARNING (CWE-477): [#def79]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c: scope_hint: In function ‘dispatch_func’
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
#  324 |         GTimeVal now;
#      |         ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
#  580 | struct _GTimeVal
#      |        ^~~~~~~~~
#  322|   
#  323|       if ((next_timeout = find_next_timeout(g))) {
#  324|->         GTimeVal now;
#  325|           struct timeval tvnow;
#  326|           g_source_get_current_time(source, &now);

Error: COMPILER_WARNING (CWE-477): [#def80]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  324|           GTimeVal now;
#  325|           struct timeval tvnow;
#  326|->         g_source_get_current_time(source, &now);
#  327|           tvnow.tv_sec = now.tv_sec;
#  328|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING (CWE-477): [#def81]
avahi-0.8-build/avahi-0.8/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
#  326 |         g_source_get_current_time(source, &now);
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
#  799 | void     g_source_get_current_time (GSource        *source,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
#  324|           GTimeVal now;
#  325|           struct timeval tvnow;
#  326|->         g_source_get_current_time(source, &now);
#  327|           tvnow.tv_sec = now.tv_sec;
#  328|           tvnow.tv_usec = now.tv_usec;

Error: COMPILER_WARNING: [#def82]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:67:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   67 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
#   65|   
#   66|   static void ga_client_init(GaClient * self) {
#   67|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#   68|       /* allocate any data required by the object here */
#   69|       self->avahi_client = NULL;

Error: COMPILER_WARNING: [#def83]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_set_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:81:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   81 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   
#   79|                          const GValue * value, GParamSpec * pspec) {
#   80|       GaClient *client = GA_CLIENT(object);
#   81|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#   82|   
#   83|       switch (property_id) {

Error: COMPILER_WARNING: [#def84]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:98:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   98 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   
#   96|                          GValue * value, GParamSpec * pspec) {
#   97|       GaClient *client = GA_CLIENT(object);
#   98|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#   99|   
#  100|       switch (property_id) {

Error: COMPILER_WARNING: [#def85]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:105:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  105 |             g_value_set_enum(value, priv->flags);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:106:9: note: here
#  106 |         default:
#      |         ^~~~~~~
#  103|               break;
#  104|           case PROP_FLAGS:
#  105|->             g_value_set_enum(value, priv->flags);
#  106|           default:
#  107|               G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec);

Error: COMPILER_WARNING (CWE-477): [#def86]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_class_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:116:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  116 |     g_type_class_add_private(ga_client_class, sizeof (GaClientPrivate));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.h:23: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:27: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  114|       GParamSpec *param_spec;
#  115|   
#  116|->     g_type_class_add_private(ga_client_class, sizeof (GaClientPrivate));
#  117|   
#  118|   

Error: COMPILER_WARNING: [#def87]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_dispose'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:157:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  157 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
#  155|   void ga_client_dispose(GObject * object) {
#  156|       GaClient *self = GA_CLIENT(object);
#  157|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#  158|   
#  159|       if (priv->dispose_has_run)

Error: COMPILER_WARNING: [#def88]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function '_avahi_client_cb'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:217:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  217 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
#  215|   static void _avahi_client_cb(AvahiClient * c, AvahiClientState state, void *data) {
#  216|       GaClient *self = GA_CLIENT(data);
#  217|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(self);
#  218|   
#  219|   /*     printf("CLIENT CB: %d\n", state); */

Error: COMPILER_WARNING (CWE-192): [#def89]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:226:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiClientState' to 'GaClientState'
#  226 |     priv->state = state;
#      |                 ^
#  224|   
#  225|       g_assert(c == self->avahi_client);
#  226|->     priv->state = state;
#  227|       g_signal_emit(self, signals[STATE_CHANGED],
#  228|                     detail_for_state(state), state);

Error: COMPILER_WARNING: [#def90]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_start_in_context'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:236:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  236 |     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   
#  234|   
#  235|   gboolean ga_client_start_in_context(GaClient * client, GMainContext * context, GError ** error) {
#  236|->     GaClientPrivate *priv = GA_CLIENT_GET_PRIVATE(client);
#  237|       AvahiClient *aclient;
#  238|       int aerror;

Error: COMPILER_WARNING (CWE-192): [#def91]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:248:36: warning[-Wenum-conversion]: implicit conversion from 'GaClientFlags' to 'AvahiClientFlags'
#  248 |                                priv->flags,
#      |                                ~~~~^~~~~~~
#  246|   
#  247|       aclient = avahi_client_new(avahi_glib_poll_get(priv->poll),
#  248|->                                priv->flags,
#  249|                                  _avahi_client_cb, client, &aerror);
#  250|       if (aclient == NULL) {

Error: COMPILER_WARNING: [#def92]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:82:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   82 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(obj);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
#   80|   
#   81|   static void ga_entry_group_init(GaEntryGroup * obj) {
#   82|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(obj);
#   83|       /* allocate any data required by the object here */
#   84|       priv->state = GA_ENTRY_GROUP_STATE_UNCOMMITED;

Error: COMPILER_WARNING: [#def93]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:99:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   99 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#   97|                               GValue * value, GParamSpec * pspec) {
#   98|       GaEntryGroup *group = GA_ENTRY_GROUP(object);
#   99|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  100|   
#  101|       switch (property_id) {

Error: COMPILER_WARNING (CWE-477): [#def94]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_class_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:115:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  115 |     g_type_class_add_private(ga_entry_group_class,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-error.h:23: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:30: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  113|       GParamSpec *param_spec;
#  114|   
#  115|->     g_type_class_add_private(ga_entry_group_class,
#  116|                                sizeof (GaEntryGroupPrivate));
#  117|   

Error: COMPILER_WARNING: [#def95]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_dispose'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:143:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  143 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
#  141|   void ga_entry_group_dispose(GObject * object) {
#  142|       GaEntryGroup *self = GA_ENTRY_GROUP(object);
#  143|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#  144|   
#  145|       if (priv->dispose_has_run)

Error: COMPILER_WARNING: [#def96]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_finalize'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:166:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  166 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
#  164|   void ga_entry_group_finalize(GObject * object) {
#  165|       GaEntryGroup *self = GA_ENTRY_GROUP(object);
#  166|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#  167|   
#  168|       /* free any data held directly by the object here */

Error: COMPILER_WARNING: [#def97]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function '_avahi_entry_group_cb'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:215:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  215 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
#  213|                         AvahiEntryGroupState state, void *data) {
#  214|       GaEntryGroup *self = GA_ENTRY_GROUP(data);
#  215|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(self);
#  216|   
#  217|       /* Avahi can call the callback before return from _client_new */

Error: COMPILER_WARNING (CWE-192): [#def98]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:222:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiEntryGroupState' to 'GaEntryGroupState'
#  222 |     priv->state = state;
#      |                 ^
#  220|   
#  221|       g_assert(g == priv->group);
#  222|->     priv->state = state;
#  223|       g_signal_emit(self, signals[STATE_CHANGED],
#  224|                     detail_for_state(state), state);

Error: COMPILER_WARNING: [#def99]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_add_service_full_strlist'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:378:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  378 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#  376|                                                                AvahiStringList *
#  377|                                                                txt) {
#  378|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  379|       GaEntryGroupServicePrivate *service = NULL;
#  380|       int ret;

Error: COMPILER_WARNING: [#def100]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_add_record_full'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:487:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  487 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#  485|                                  gsize size, GError ** error) {
#  486|       int ret;
#  487|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  488|       g_assert(group != NULL && priv->group != NULL);
#  489|   

Error: COMPILER_WARNING: [#def101]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_service_thaw'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:517:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  517 |             (GA_ENTRY_GROUP_GET_PRIVATE(priv->group)->group,
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
#  515|       AvahiStringList *txt = _hash_to_string_list(priv->entries);
#  516|       ret = avahi_entry_group_update_service_txt_strlst
#  517|->             (GA_ENTRY_GROUP_GET_PRIVATE(priv->group)->group,
#  518|                service->interface, service->protocol, service->flags,
#  519|                service->name, service->type, service->domain, txt);

Error: COMPILER_WARNING: [#def102]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_attach'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:575:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  575 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#  573|   gboolean ga_entry_group_attach(GaEntryGroup * group,
#  574|                         GaClient * client, GError ** error) {
#  575|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  576|   
#  577|       g_return_val_if_fail(client->avahi_client, FALSE);

Error: COMPILER_WARNING: [#def103]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_commit'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:599:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  599 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#  597|   
#  598|   gboolean ga_entry_group_commit(GaEntryGroup * group, GError ** error) {
#  599|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  600|       int ret;
#  601|       ret = avahi_entry_group_commit(priv->group);

Error: COMPILER_WARNING: [#def104]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_reset'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-entry-group.c:614:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  614 |     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
#  612|   
#  613|   gboolean ga_entry_group_reset(GaEntryGroup * group, GError ** error) {
#  614|->     GaEntryGroupPrivate *priv = GA_ENTRY_GROUP_GET_PRIVATE(group);
#  615|       int ret;
#  616|       ret = avahi_entry_group_reset(priv->group);

Error: COMPILER_WARNING: [#def105]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_set_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:85:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   85 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
#   83|                                  const GValue * value, GParamSpec * pspec) {
#   84|       GaRecordBrowser *browser = GA_RECORD_BROWSER(object);
#   85|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#   86|   
#   87|       g_assert(priv->browser == NULL);

Error: COMPILER_WARNING: [#def106]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:118:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  118 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
#  116|                                  GValue * value, GParamSpec * pspec) {
#  117|       GaRecordBrowser *browser = GA_RECORD_BROWSER(object);
#  118|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#  119|   
#  120|       switch (property_id) {

Error: COMPILER_WARNING (CWE-477): [#def107]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_class_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:150:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  150 |     g_type_class_add_private(ga_record_browser_class,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:28: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  148|       GParamSpec *param_spec;
#  149|   
#  150|->     g_type_class_add_private(ga_record_browser_class,
#  151|                                sizeof (GaRecordBrowserPrivate));
#  152|   

Error: COMPILER_WARNING: [#def108]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_dispose'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:270:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  270 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
#  268|   void ga_record_browser_dispose(GObject * object) {
#  269|       GaRecordBrowser *self = GA_RECORD_BROWSER(object);
#  270|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(self);
#  271|   
#  272|       if (priv->dispose_has_run)

Error: COMPILER_WARNING: [#def109]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_finalize'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:292:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  292 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      
#  290|   void ga_record_browser_finalize(GObject * object) {
#  291|       GaRecordBrowser *self = GA_RECORD_BROWSER(object);
#  292|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(self);
#  293|   
#  294|       /* free any data held directly by the object here */

Error: COMPILER_WARNING: [#def110]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function '_avahi_record_browser_cb'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:327:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  327 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(userdata);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
#  325|                            AvahiLookupResultFlags flags, void *userdata) {
#  326|       GaRecordBrowser *self = GA_RECORD_BROWSER(userdata);
#  327|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(userdata);
#  328|   
#  329|       switch (event) {

Error: COMPILER_WARNING: [#def111]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_attach'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-record-browser.c:359:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  359 |     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
#  357|   gboolean ga_record_browser_attach(GaRecordBrowser * browser,
#  358|                            GaClient * client, GError ** error) {
#  359|->     GaRecordBrowserPrivate *priv = GA_RECORD_BROWSER_GET_PRIVATE(browser);
#  360|   
#  361|       priv->client = g_object_ref(client);

Error: COMPILER_WARNING: [#def112]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:76:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   76 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(obj);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
#   74|   
#   75|   static void ga_service_browser_init(GaServiceBrowser * obj) {
#   76|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(obj);
#   77|   
#   78|       /* allocate any data required by the object here */

Error: COMPILER_WARNING: [#def113]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_set_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:93:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   93 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
#   91|                                   const GValue * value, GParamSpec * pspec) {
#   92|       GaServiceBrowser *browser = GA_SERVICE_BROWSER(object);
#   93|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#   94|   
#   95|       g_assert(priv->browser == NULL);

Error: COMPILER_WARNING: [#def114]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:122:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  122 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
#  120|                                   GValue * value, GParamSpec * pspec) {
#  121|       GaServiceBrowser *browser = GA_SERVICE_BROWSER(object);
#  122|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#  123|   
#  124|       switch (property_id) {

Error: COMPILER_WARNING (CWE-477): [#def115]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_class_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:152:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  152 |     g_type_class_add_private(ga_service_browser_class,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.h:23: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  150|       GParamSpec *param_spec;
#  151|   
#  152|->     g_type_class_add_private(ga_service_browser_class,
#  153|                                sizeof (GaServiceBrowserPrivate));
#  154|   

Error: COMPILER_WARNING: [#def116]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_dispose'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:260:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  260 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
#  258|   void ga_service_browser_dispose(GObject * object) {
#  259|       GaServiceBrowser *self = GA_SERVICE_BROWSER(object);
#  260|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#  261|   
#  262|       if (priv->dispose_has_run)

Error: COMPILER_WARNING: [#def117]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_finalize'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:282:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  282 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
#  280|   void ga_service_browser_finalize(GObject * object) {
#  281|       GaServiceBrowser *self = GA_SERVICE_BROWSER(object);
#  282|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#  283|   
#  284|       /* free any data held directly by the object here */

Error: COMPILER_WARNING: [#def118]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function '_avahi_service_browser_cb'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:299:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  299 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
#  297|                             void *userdata) {
#  298|       GaServiceBrowser *self = GA_SERVICE_BROWSER(userdata);
#  299|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(self);
#  300|       if (priv->browser == NULL) {
#  301|           priv->browser = b;

Error: COMPILER_WARNING: [#def119]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_attach'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-browser.c:350:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  350 |     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
#  348|   gboolean ga_service_browser_attach(GaServiceBrowser * browser,
#  349|                             GaClient * client, GError ** error) {
#  350|->     GaServiceBrowserPrivate *priv = GA_SERVICE_BROWSER_GET_PRIVATE(browser);
#  351|   
#  352|       g_object_ref(client);

Error: COMPILER_WARNING: [#def120]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:80:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   80 |     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(obj);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   
#   78|   
#   79|   static void ga_service_resolver_init(GaServiceResolver * obj) {
#   80|->     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(obj);
#   81|   
#   82|       /* allocate any data required by the object here */

Error: COMPILER_WARNING: [#def121]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_set_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:99:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#   99 |             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
#   97|       GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object);
#   98|       GaServiceResolverPrivate *priv =
#   99|->             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#  100|   
#  101|       g_assert(priv->resolver == NULL);

Error: COMPILER_WARNING: [#def122]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_get_property'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:135:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  135 |             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
#  133|       GaServiceResolver *resolver = GA_SERVICE_RESOLVER(object);
#  134|       GaServiceResolverPrivate *priv =
#  135|->             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#  136|   
#  137|       switch (property_id) {

Error: COMPILER_WARNING (CWE-477): [#def123]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_class_init'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:171:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  171 |     g_type_class_add_private(ga_service_resolver_class,
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.h:26: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:27: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  169|       GParamSpec *param_spec;
#  170|   
#  171|->     g_type_class_add_private(ga_service_resolver_class,
#  172|                                sizeof (GaServiceResolverPrivate));
#  173|   

Error: COMPILER_WARNING: [#def124]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_dispose'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:270:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  270 |     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
#  268|   void ga_service_resolver_dispose(GObject * object) {
#  269|       GaServiceResolver *self = GA_SERVICE_RESOLVER(object);
#  270|->     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#  271|   
#  272|       if (priv->dispose_has_run)

Error: COMPILER_WARNING: [#def125]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_finalize'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:293:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  293 |     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
#  291|   void ga_service_resolver_finalize(GObject * object) {
#  292|       GaServiceResolver *self = GA_SERVICE_RESOLVER(object);
#  293|->     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#  294|   
#  295|       /* free any data held directly by the object here */

Error: COMPILER_WARNING: [#def126]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function '_avahi_service_resolver_cb'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:319:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  319 |     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
#  317|                              AvahiLookupResultFlags flags, void *userdata) {
#  318|       GaServiceResolver *self = GA_SERVICE_RESOLVER(userdata);
#  319|->     GaServiceResolverPrivate *priv = GA_SERVICE_RESOLVER_GET_PRIVATE(self);
#  320|   
#  321|       switch (event) {

Error: COMPILER_WARNING: [#def127]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_attach'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:362:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  362 |             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
#  360|                              GaClient * client, GError ** error) {
#  361|       GaServiceResolverPrivate *priv =
#  362|->             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#  363|   
#  364|       g_assert(client != NULL);

Error: COMPILER_WARNING: [#def128]
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_get_address'
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-service-resolver.c:394:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  394 |             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                       
#  392|                                   AvahiAddress * address, uint16_t * port) {
#  393|       GaServiceResolverPrivate *priv =
#  394|->             GA_SERVICE_RESOLVER_GET_PRIVATE(resolver);
#  395|       if (priv->port == 0) {
#  396|   /*         printf("PORT == 0\n"); */

Error: COMPILER_WARNING: [#def129]
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT'
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c:88:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
#   88 |   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT) (marshal_data ? marshal_data : cc->callback);
#      |              ^
#   86|         data2 = closure->data;
#   87|       }
#   88|->   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_STRING_POINTER_INT_POINTER_INT) (marshal_data ? marshal_data : cc->callback);
#   89|   
#   90|     callback (data1,

Error: COMPILER_WARNING: [#def130]
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_UINT'
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c:137:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
#  137 |   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_UINT) (marshal_data ? marshal_data : cc->callback);
#      |              ^
#  135|         data2 = closure->data;
#  136|       }
#  137|->   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_STRING_STRING_UINT) (marshal_data ? marshal_data : cc->callback);
#  138|   
#  139|     callback (data1,

Error: COMPILER_WARNING: [#def131]
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT'
avahi-0.8-build/avahi-0.8/avahi-gobject/signals-marshal.c:184:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
#  184 |   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback);
#      |              ^
#  182|         data2 = closure->data;
#  183|       }
#  184|->   callback = (GMarshalFunc_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback);
#  185|   
#  186|     callback (data1,

Error: COMPILER_WARNING (CWE-477): [#def132]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c: scope_hint: In function 'get_default_response'
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:140:9: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
/usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:31: included_from: Included from here.
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:30: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
#  138|           gint bad = GTK_RESPONSE_NONE;
#  139|   
#  140|->         t = children = gtk_container_get_children(GTK_CONTAINER(gtk_dialog_get_action_area(dlg)));
#  141|   
#  142|           while (t) {

Error: COMPILER_WARNING: [#def133]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c: scope_hint: In function 'browse_callback'
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:522:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  522 |             gtk_widget_destroy(m);
#      |             ^~~~~~~~~~~~~~~~~~~~~
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:527:9: note: here
#  527 |         case AVAHI_BROWSER_ALL_FOR_NOW:
#      |         ^~~~
#  520|                                                     avahi_strerror(avahi_client_errno(d->priv->client)));
#  521|               gtk_dialog_run(GTK_DIALOG(m));
#  522|->             gtk_widget_destroy(m);
#  523|   
#  524|               /* Fall through */

Error: COMPILER_WARNING: [#def134]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c: scope_hint: In function 'domain_browse_callback'
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:652:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
#  652 |             gtk_widget_destroy(m);
#      |             ^~~~~~~~~~~~~~~~~~~~~
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:657:9: note: here
#  657 |         case AVAHI_BROWSER_ALL_FOR_NOW:
#      |         ^~~~
#  650|                                                     avahi_strerror(avahi_client_errno(d->priv->client)));
#  651|               gtk_dialog_run(GTK_DIALOG(m));
#  652|->             gtk_widget_destroy(m);
#  653|   
#  654|               /* Fall through */

Error: COMPILER_WARNING (CWE-477): [#def135]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c: scope_hint: In function 'response_callback'
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:891:9: warning[-Wdeprecated-declarations]: 'gdk_cursor_new' is deprecated: Use 'gdk_cursor_new_for_display' instead
/usr/include/gtk-3.0/gdk/gdk.h:34: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here
#  889|   
#  890|           gtk_widget_set_sensitive(GTK_WIDGET(dialog), FALSE);
#  891|->         cursor = gdk_cursor_new(GDK_WATCH);
#  892|           gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(dialog)), cursor);
#  893|   #if GTK_CHECK_VERSION(3,0,0)

Error: COMPILER_WARNING (CWE-477): [#def136]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c: scope_hint: In function 'aui_service_dialog_init'
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:1136:5: warning[-Wdeprecated-declarations]: 'gtk_misc_set_alignment' is deprecated
/usr/include/gtk-3.0/gtk/gtklabel.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtkaccellabel.h:35: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:33: included_from: Included from here.
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
# 1134|       p->domain_label = gtk_label_new(_("Initializing..."));
# 1135|       gtk_label_set_ellipsize(GTK_LABEL(p->domain_label), TRUE);
# 1136|->     gtk_misc_set_alignment(GTK_MISC(p->domain_label), 0, 0.5);
# 1137|       gtk_box_pack_start(GTK_BOX(vbox), p->domain_label, FALSE, FALSE, 0);
# 1138|   

Error: COMPILER_WARNING (CWE-477): [#def137]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:1187:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
# 1185|       gtk_button_set_image(GTK_BUTTON(p->domain_button), gtk_image_new_from_icon_name("network-workgroup", GTK_ICON_SIZE_BUTTON));
# 1186|       g_signal_connect(p->domain_button, "clicked", G_CALLBACK(domain_button_clicked), d);
# 1187|->     gtk_box_pack_start(GTK_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, FALSE, TRUE, 0);
# 1188|       gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, TRUE);
# 1189|       gtk_widget_show(p->domain_button);

Error: COMPILER_WARNING (CWE-477): [#def138]
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:1188:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
/usr/include/gtk-3.0/gtk/gtkdialog.h:203:13: note: declared here
# 1186|       g_signal_connect(p->domain_button, "clicked", G_CALLBACK(domain_button_clicked), d);
# 1187|       gtk_box_pack_start(GTK_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, FALSE, TRUE, 0);
# 1188|->     gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(gtk_dialog_get_action_area(GTK_DIALOG(d))), p->domain_button, TRUE);
# 1189|       gtk_widget_show(p->domain_button);
# 1190|   

Error: CPPCHECK_WARNING (CWE-457): [#def139]
avahi-0.8-build/avahi-0.8/avahi-utils/avahi-browse.c:151: warning[uninitvar]: Uninitialized variable: to
#  149|       *t = 0;
#  150|   
#  151|->     return to;
#  152|   }
#  153|   

Error: COMPILER_WARNING (CWE-252): [#def140]
avahi-0.8-build/avahi-0.8/avahi-utils/sigint.c: scope_hint: In function ‘handler’
avahi-0.8-build/avahi-0.8/avahi-utils/sigint.c:55:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#   55 |     write(pipe_fds[1], &s, sizeof(s));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   53|   
#   54|   static void handler(int s) {
#   55|->     write(pipe_fds[1], &s, sizeof(s));
#   56|   }
#   57|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-41.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameavahi-0.8-30.fc42
store-results-to/tmp/tmp_ytorm5n/avahi-0.8-30.fc42.tar.xz
time-created2024-11-12 23:14:37
time-finished2024-11-12 23:17:41
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp_ytorm5n/avahi-0.8-30.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_ytorm5n/avahi-0.8-30.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9