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.
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.
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’
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.
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]’
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]’
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’
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’
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’
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.
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.
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.
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'
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’
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 *)'}
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 *)'}
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)'}
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 *)'}
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)'}
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 *)'}
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)'}
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 *)'}
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)'}
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
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
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’
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’
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
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 *’}
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
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 *’}
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’
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’
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’
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’
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’
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
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
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
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
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’
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’
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’
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’
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’
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’
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’
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
avahi-0.8-build/avahi-0.8/avahi-compat-howl/samples/query.c:48:25: note: shadowed declaration is here
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
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 *’}
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’
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’
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
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 *’}
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
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 *’}
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
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
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
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro 'AVAHI_WARN_UNSUPPORTED'
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
avahi-0.8-build/avahi-0.8/avahi-compat-libdns_sd/compat.c:622:9: note: in expansion of macro ‘AVAHI_WARN_UNSUPPORTED’
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’
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
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 14 and 1031 bytes into a destination of size 1014
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
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 5 or more bytes (assuming 68) into a destination of size 64
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
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 6 or more bytes (assuming 69) into a destination of size 64
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
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output between 4 and 322 bytes into a destination of size 64
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.
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’
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’
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’
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’
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
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’
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’
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’
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
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
/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
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
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
/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
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
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
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
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
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
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
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
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
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
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
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
/usr/include/glib-2.0/glib/gmain.h:799:10: note: declared here
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"
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"
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"
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
avahi-0.8-build/avahi-0.8/avahi-gobject/ga-client.c:106:9: note: here
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
/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
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"
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"
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'
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"
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'
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"
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"
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
/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
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"
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"
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"
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'
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"
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"
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"
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"
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"
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"
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"
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"
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
/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
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"
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"
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"
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"
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"
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"
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"
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
/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
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"
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"
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"
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"
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"
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"
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"
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
/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
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"
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"
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"
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"
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"
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
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
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
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
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
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:527:9: note: here
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
avahi-0.8-build/avahi-0.8/avahi-ui/avahi-ui.c:657:9: note: here
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
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
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
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
Error: CPPCHECK_WARNING (CWE-457): [#def139]
avahi-0.8-build/avahi-0.8/avahi-utils/avahi-browse.c:151: warning[uninitvar]: Uninitialized variable: to
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’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-41.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | avahi-0.8-30.fc42 |
store-results-to | /tmp/tmp_ytorm5n/avahi-0.8-30.fc42.tar.xz |
time-created | 2024-11-12 23:14:37 |
time-finished | 2024-11-12 23:17:41 |
tool | csmock |
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-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |