avahi-0.9~rc2-3.fc43
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.9-rc2/avahi-autoipd/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.9-rc2/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.9-rc2/avahi-autoipd/main.c:843:13: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
avahi-0.9-rc2/avahi-autoipd/main.c:1047:12: enter_function: entry to ‘loop’
avahi-0.9-rc2/avahi-autoipd/main.c:1075:24: call_function: calling ‘fork_dispatcher’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
avahi-0.9-rc2/avahi-autoipd/main.c:892:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
avahi-0.9-rc2/avahi-autoipd/main.c:1047:12: enter_function: entry to ‘loop’
avahi-0.9-rc2/avahi-autoipd/main.c:1075:24: call_function: calling ‘fork_dispatcher’ from ‘loop’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
avahi-0.9-rc2/avahi-autoipd/main.c:892:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
avahi-0.9-rc2/avahi-autoipd/main.c:1047:12: enter_function: entry to ‘loop’
avahi-0.9-rc2/avahi-autoipd/main.c:1075:24: call_function: calling ‘fork_dispatcher’ from ‘loop’
Error: COMPILER_WARNING (CWE-252): [#def7]
avahi-0.9-rc2/avahi-autoipd/main.c: scope_hint: In function ‘drop_privs’
avahi-0.9-rc2/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.9-rc2/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.9-rc2/avahi-autoipd/main.c: scope_hint: In function ‘main’
avahi-0.9-rc2/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.9-rc2/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.9-rc2/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.9-rc2/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.9-rc2/avahi-common/simple-watch.c: scope_hint: In function 'avahi_simple_poll_wakeup'
avahi-0.9-rc2/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.9-rc2/avahi-common/simple-watch.c: scope_hint: In function ‘avahi_simple_poll_wakeup’
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'client_callback'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'reg_report_status'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_publish'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'domain_browser_callback'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_browse_domains'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'service_resolver_callback'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_resolve'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'service_browser_callback'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/compat.c: scope_hint: In function 'sw_discovery_browse'
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/include/salt/salt.h:32: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/howl.h:32: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/address.c:34: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/salt/platform.h:411:1: warning[-Wstrict-prototypes]: function declaration isn't a prototype
Error: COMPILER_WARNING: [#def25]
avahi-0.9-rc2/avahi-compat-howl/include/salt/salt.h:32: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/howl.h:32: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/address.c:34: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/samples/browse.c:46:73: warning[-Wunused-parameter]: unused parameter ‘extra’
Error: COMPILER_WARNING (CWE-563): [#def27]
avahi-0.9-rc2/avahi-compat-howl/samples/browse.c:51:81: warning[-Wunused-variable]: unused variable ‘sval’
Error: COMPILER_WARNING (CWE-681): [#def28]
avahi-0.9-rc2/avahi-compat-howl/samples/browse.c: scope_hint: In function ‘my_resolver’
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/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.9-rc2/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/samples/browse.c: scope_hint: In function ‘my_browser’
avahi-0.9-rc2/avahi-compat-howl/samples/browse.c:83:89: warning[-Wunused-parameter]: unused parameter ‘oid’
Error: COMPILER_WARNING (CWE-563): [#def31]
avahi-0.9-rc2/avahi-compat-howl/samples/browse.c:89:97: warning[-Wunused-parameter]: unused parameter ‘extra’
Error: COMPILER_WARNING (CWE-563): [#def32]
avahi-0.9-rc2/avahi-compat-howl/samples/publish.c:35:89: warning[-Wunused-parameter]: unused parameter ‘discovery’
Error: COMPILER_WARNING (CWE-563): [#def33]
avahi-0.9-rc2/avahi-compat-howl/samples/publish.c:36:89: warning[-Wunused-parameter]: unused parameter ‘oid’
Error: COMPILER_WARNING (CWE-563): [#def34]
avahi-0.9-rc2/avahi-compat-howl/samples/publish.c:38:97: warning[-Wunused-parameter]: unused parameter ‘extra’
Error: COMPILER_WARNING (CWE-704): [#def35]
avahi-0.9-rc2/avahi-compat-howl/samples/publish.c: scope_hint: In function ‘my_service_reply’
avahi-0.9-rc2/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.9-rc2/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.9-rc2/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.9-rc2/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.9-rc2/avahi-compat-howl/samples/query.c:36:105: warning[-Wunused-parameter]: unused parameter ‘session’
Error: COMPILER_WARNING (CWE-563): [#def40]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:37:105: warning[-Wunused-parameter]: unused parameter ‘oid’
Error: COMPILER_WARNING (CWE-563): [#def41]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:38:81: warning[-Wunused-parameter]: unused parameter ‘status’
Error: COMPILER_WARNING (CWE-563): [#def42]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:43:113: warning[-Wunused-parameter]: unused parameter ‘rrdatalen’
Error: COMPILER_WARNING (CWE-563): [#def43]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:45:113: warning[-Wunused-parameter]: unused parameter ‘ttl’
Error: COMPILER_WARNING (CWE-563): [#def44]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:46:113: warning[-Wunused-parameter]: unused parameter ‘extra’
Error: COMPILER_WARNING (CWE-563): [#def45]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:48:25: warning[-Wunused-variable]: unused variable ‘address’
Error: COMPILER_WARNING (CWE-694): [#def46]
avahi-0.9-rc2/avahi-compat-howl/samples/query.c: scope_hint: In function ‘query_record_reply’
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:54:33: warning[-Wshadow]: declaration of ‘address’ shadows a previous local
avahi-0.9-rc2/avahi-compat-howl/samples/query.c:48:25: note: shadowed declaration is here
Error: COMPILER_WARNING (CWE-681): [#def47]
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/samples/resolve.c:46:73: warning[-Wunused-parameter]: unused parameter ‘extra’
Error: COMPILER_WARNING (CWE-563): [#def49]
avahi-0.9-rc2/avahi-compat-howl/samples/resolve.c:51:81: warning[-Wunused-variable]: unused variable ‘sval’
Error: COMPILER_WARNING (CWE-681): [#def50]
avahi-0.9-rc2/avahi-compat-howl/samples/resolve.c: scope_hint: In function ‘my_resolver’
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/include/corby/orb.h:33: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-howl/include/howl.h:35: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/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.9-rc2/avahi-compat-howl/include/howl.h:41: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/avahi-compat-howl/unsupported.c: scope_hint: In function 'sw_strerror'
avahi-0.9-rc2/avahi-compat-howl/unsupported.c:62:17: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def53]
avahi-0.9-rc2/avahi-compat-howl/unsupported.c: scope_hint: At top level
avahi-0.9-rc2/avahi-compat-howl/unsupported.c:62:17: warning[-Wstrict-prototypes]: function declaration isn't a prototype
Error: COMPILER_WARNING: [#def54]
avahi-0.9-rc2/avahi-compat-libdns_sd/unsupported.c:27: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-libdns_sd/unsupported.c: scope_hint: In function 'DNSServiceRegisterRecord'
avahi-0.9-rc2/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support '__FUNCTION__' predefined identifier
avahi-0.9-rc2/avahi-compat-libdns_sd/unsupported.c:43:5: note: in expansion of macro 'AVAHI_WARN_UNSUPPORTED'
Error: COMPILER_WARNING: [#def55]
avahi-0.9-rc2/avahi-compat-libdns_sd/compat.c:47: included_from: Included from here.
avahi-0.9-rc2/avahi-compat-libdns_sd/compat.c: scope_hint: In function ‘DNSServiceBrowse’
avahi-0.9-rc2/avahi-compat-libdns_sd/warn.h:33:82: warning[-Wpedantic]: ISO C does not support ‘__FUNCTION__’ predefined identifier
avahi-0.9-rc2/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.9-rc2/avahi-core/dns-spin-test.c:76:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
avahi-0.9-rc2/avahi-core/dns-spin-test.c:89:5: enter_function: entry to ‘main’
avahi-0.9-rc2/avahi-core/dns-spin-test.c:79:6: enter_function: entry to ‘handle’
avahi-0.9-rc2/avahi-core/dns-spin-test.c:80:5: call_function: calling ‘fail’ from ‘handle’
Error: COMPILER_WARNING: [#def57]
avahi-0.9-rc2/avahi-core/entry.c: scope_hint: In function 'server_add_dns_server_name'
avahi-0.9-rc2/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.9-rc2/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.9-rc2/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.9-rc2/avahi-core/entry.c: scope_hint: In function 'avahi_server_add_dns_server_address'
avahi-0.9-rc2/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.9-rc2/avahi-core/iface.c: scope_hint: In function 'avahi_hw_interface_update_rrs'
avahi-0.9-rc2/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.9-rc2/avahi-core/socket.c:458:38: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
avahi-0.9-rc2/avahi-core/socket.c:481:5: enter_function: entry to 'avahi_send_dns_packet_ipv4'
avahi-0.9-rc2/avahi-core/socket.c:500:5: branch_false: following 'false' branch (when 'fd >= 0')...
avahi-0.9-rc2/avahi-core/socket.c:501:5: branch_false: ...to here
avahi-0.9-rc2/avahi-core/socket.c:501:5: branch_false: following 'false' branch (when 'p' is non-NULL)...
avahi-0.9-rc2/avahi-core/socket.c:502:5: branch_false: ...to here
avahi-0.9-rc2/avahi-core/socket.c:502:5: branch_false: following 'false' branch...
avahi-0.9-rc2/avahi-core/socket.c:503:5: branch_false: ...to here
avahi-0.9-rc2/avahi-core/socket.c:503:5: branch_false: following 'false' branch...
avahi-0.9-rc2/avahi-core/socket.c:505:8: branch_false: ...to here
avahi-0.9-rc2/avahi-core/socket.c:505:8: branch_true: following 'true' branch (when 'dst_address' is NULL)...
avahi-0.9-rc2/avahi-core/socket.c:506:9: branch_true: ...to here
avahi-0.9-rc2/avahi-core/socket.c:506:9: call_function: calling 'mdns_mcast_group_ipv4' from 'avahi_send_dns_packet_ipv4'
avahi-0.9-rc2/avahi-core/socket.c:506:9: return_function: returning to 'avahi_send_dns_packet_ipv4' from 'mdns_mcast_group_ipv4'
avahi-0.9-rc2/avahi-core/socket.c:524:8: branch_false: following 'false' branch...
avahi-0.9-rc2/avahi-core/socket.c:572:12: branch_false: ...to here
avahi-0.9-rc2/avahi-core/socket.c:572:12: call_function: calling 'sendmsg_loop' from 'avahi_send_dns_packet_ipv4'
Error: COMPILER_WARNING (CWE-252): [#def62]
avahi-0.9-rc2/avahi-daemon/main.c: scope_hint: In function ‘run_server’
avahi-0.9-rc2/avahi-daemon/main.c:1219:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def63]
avahi-0.9-rc2/avahi-daemon/main.c: scope_hint: In function ‘make_runtime_dir’
avahi-0.9-rc2/avahi-daemon/main.c:1445:5: warning[-Wunused-result]: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def64]
avahi-0.9-rc2/avahi-daemon/main.c: scope_hint: In function ‘init_rand_seed’
avahi-0.9-rc2/avahi-daemon/main.c:1510:9: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def65]
avahi-0.9-rc2/avahi-daemon/main.c: scope_hint: In function ‘main’
avahi-0.9-rc2/avahi-daemon/main.c:1693:9: warning[-Wunused-result]: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def66]
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:524:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*server.fd’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:457:5: enter_function: entry to ‘simple_protocol_setup’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:464:5: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:466:14: call_function: inlined call to ‘avahi_new_internal’ from ‘simple_protocol_setup’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:477:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:482:8: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:482:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:487:8: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:487:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:501:20: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:501:12: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:506:9: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:517:12: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:522:15: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:524:12: danger: ‘*server.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:530:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*server.fd’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:457:5: enter_function: entry to ‘simple_protocol_setup’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:464:5: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:466:14: call_function: inlined call to ‘avahi_new_internal’ from ‘simple_protocol_setup’
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:477:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:482:8: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:482:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:487:8: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:487:8: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:501:20: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:501:12: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:506:9: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:517:12: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:522:15: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:524:12: branch_false: following ‘false’ branch...
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:530:5: branch_false: ...to here
avahi-0.9-rc2/avahi-daemon/simple-protocol.c:530:5: danger: ‘*server.fd’ leaks here
Error: COMPILER_WARNING (CWE-252): [#def68]
avahi-0.9-rc2/avahi-dnsconfd/main.c: scope_hint: In function ‘main’
avahi-0.9-rc2/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): [#def69]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function 'prepare_func'
avahi-0.9-rc2/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.9-rc2/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.9-rc2/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): [#def70]
avahi-0.9-rc2/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def71]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘prepare_func’
avahi-0.9-rc2/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.9-rc2/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.9-rc2/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.9-rc2/avahi-glib/glib-watch.c:269:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def73]
avahi-0.9-rc2/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.9-rc2/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING (CWE-477): [#def75]
avahi-0.9-rc2/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): [#def76]
avahi-0.9-rc2/avahi-glib/glib-watch.c:273:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING (CWE-477): [#def77]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function 'check_func'
avahi-0.9-rc2/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): [#def78]
avahi-0.9-rc2/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def79]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘check_func’
avahi-0.9-rc2/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): [#def80]
avahi-0.9-rc2/avahi-glib/glib-watch.c:299:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def81]
avahi-0.9-rc2/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): [#def82]
avahi-0.9-rc2/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING (CWE-477): [#def83]
avahi-0.9-rc2/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): [#def84]
avahi-0.9-rc2/avahi-glib/glib-watch.c:301:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING (CWE-477): [#def85]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function 'dispatch_func'
avahi-0.9-rc2/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): [#def86]
avahi-0.9-rc2/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: 'GTimeVal' is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def87]
avahi-0.9-rc2/avahi-glib/glib-watch.c: scope_hint: In function ‘dispatch_func’
avahi-0.9-rc2/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): [#def88]
avahi-0.9-rc2/avahi-glib/glib-watch.c:324:9: warning[-Wdeprecated-declarations]: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead
Error: COMPILER_WARNING (CWE-477): [#def89]
avahi-0.9-rc2/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): [#def90]
avahi-0.9-rc2/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: 'g_source_get_current_time' is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING (CWE-477): [#def91]
avahi-0.9-rc2/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): [#def92]
avahi-0.9-rc2/avahi-glib/glib-watch.c:326:9: warning[-Wdeprecated-declarations]: ‘g_source_get_current_time’ is deprecated: Use 'g_source_get_time' instead
Error: COMPILER_WARNING: [#def93]
avahi-0.9-rc2/avahi-gobject/ga-client.c:67:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def94]
avahi-0.9-rc2/avahi-gobject/ga-client.c:81:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def95]
avahi-0.9-rc2/avahi-gobject/ga-client.c:98:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def96]
avahi-0.9-rc2/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_get_property'
avahi-0.9-rc2/avahi-gobject/ga-client.c:105:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
avahi-0.9-rc2/avahi-gobject/ga-client.c:106:9: note: here
Error: COMPILER_WARNING (CWE-477): [#def97]
avahi-0.9-rc2/avahi-gobject/ga-client.c: scope_hint: In function 'ga_client_class_init'
avahi-0.9-rc2/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/gobject/gtype.h:1503:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def98]
avahi-0.9-rc2/avahi-gobject/ga-client.c:116:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
Error: COMPILER_WARNING: [#def99]
avahi-0.9-rc2/avahi-gobject/ga-client.c:157:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def100]
avahi-0.9-rc2/avahi-gobject/ga-client.c:217:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-192): [#def101]
avahi-0.9-rc2/avahi-gobject/ga-client.c:226:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiClientState' to 'GaClientState'
Error: COMPILER_WARNING: [#def102]
avahi-0.9-rc2/avahi-gobject/ga-client.c:236:29: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-192): [#def103]
avahi-0.9-rc2/avahi-gobject/ga-client.c:248:36: warning[-Wenum-conversion]: implicit conversion from 'GaClientFlags' to 'AvahiClientFlags'
Error: COMPILER_WARNING: [#def104]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:82:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def105]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:99:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-477): [#def106]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c: scope_hint: In function 'ga_entry_group_class_init'
avahi-0.9-rc2/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/gobject/gtype.h:1503:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def107]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:115:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
Error: COMPILER_WARNING: [#def108]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:143:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def109]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:166:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def110]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:215:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-192): [#def111]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:222:17: warning[-Wenum-conversion]: implicit conversion from 'AvahiEntryGroupState' to 'GaEntryGroupState'
Error: COMPILER_WARNING: [#def112]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:378:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def113]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:487:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def114]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:517:14: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def115]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:575:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def116]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:599:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def117]
avahi-0.9-rc2/avahi-gobject/ga-entry-group.c:614:33: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def118]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:85:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def119]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:118:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-477): [#def120]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c: scope_hint: In function 'ga_record_browser_class_init'
avahi-0.9-rc2/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/gobject/gtype.h:1503:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def121]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:150:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
Error: COMPILER_WARNING: [#def122]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:270:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def123]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:292:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def124]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:327:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def125]
avahi-0.9-rc2/avahi-gobject/ga-record-browser.c:359:36: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def126]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:76:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def127]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:93:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def128]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:122:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-477): [#def129]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c: scope_hint: In function 'ga_service_browser_class_init'
avahi-0.9-rc2/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/gobject/gtype.h:1503:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def130]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:152:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
Error: COMPILER_WARNING: [#def131]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:260:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def132]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:282:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def133]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:299:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def134]
avahi-0.9-rc2/avahi-gobject/ga-service-browser.c:350:37: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def135]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:80:38: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def136]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:99:13: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def137]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:135:13: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING (CWE-477): [#def138]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c: scope_hint: In function 'ga_service_resolver_class_init'
avahi-0.9-rc2/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/gobject/gtype.h:1503:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def139]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:171:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
Error: COMPILER_WARNING: [#def140]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:270:38: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def141]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:293:38: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def142]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:319:38: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def143]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:362:13: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def144]
avahi-0.9-rc2/avahi-gobject/ga-service-resolver.c:394:13: warning[warning]: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
Error: COMPILER_WARNING: [#def145]
avahi-0.9-rc2/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.9-rc2/avahi-gobject/signals-marshal.c:88:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
Error: COMPILER_WARNING: [#def146]
avahi-0.9-rc2/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING_STRING_UINT'
avahi-0.9-rc2/avahi-gobject/signals-marshal.c:137:14: warning[-Wpedantic]: ISO C forbids conversion of object pointer to function pointer type
Error: COMPILER_WARNING: [#def147]
avahi-0.9-rc2/avahi-gobject/signals-marshal.c: scope_hint: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT'
avahi-0.9-rc2/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): [#def148]
avahi-0.9-rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'get_default_response'
avahi-0.9-rc2/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.9-rc2/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 (CWE-477): [#def149]
avahi-0.9-rc2/avahi-ui/avahi-ui.c:140:9: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
Error: COMPILER_WARNING: [#def150]
avahi-0.9-rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'browse_callback'
avahi-0.9-rc2/avahi-ui/avahi-ui.c:522:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
avahi-0.9-rc2/avahi-ui/avahi-ui.c:527:9: note: here
Error: COMPILER_WARNING: [#def151]
avahi-0.9-rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'domain_browse_callback'
avahi-0.9-rc2/avahi-ui/avahi-ui.c:652:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
avahi-0.9-rc2/avahi-ui/avahi-ui.c:657:9: note: here
Error: COMPILER_WARNING (CWE-477): [#def152]
avahi-0.9-rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'response_callback'
avahi-0.9-rc2/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): [#def153]
avahi-0.9-rc2/avahi-ui/avahi-ui.c:891:9: warning[-Wdeprecated-declarations]: 'gdk_cursor_new' is deprecated: Use 'gdk_cursor_new_for_display' instead
Error: COMPILER_WARNING (CWE-477): [#def154]
avahi-0.9-rc2/avahi-ui/avahi-ui.c: scope_hint: In function 'aui_service_dialog_init'
avahi-0.9-rc2/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): [#def155]
avahi-0.9-rc2/avahi-ui/avahi-ui.c:1136:5: warning[-Wdeprecated-declarations]: 'gtk_misc_set_alignment' is deprecated
Error: COMPILER_WARNING (CWE-477): [#def156]
avahi-0.9-rc2/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): [#def157]
avahi-0.9-rc2/avahi-ui/avahi-ui.c:1187:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
Error: COMPILER_WARNING (CWE-477): [#def158]
avahi-0.9-rc2/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: COMPILER_WARNING (CWE-477): [#def159]
avahi-0.9-rc2/avahi-ui/avahi-ui.c:1188:5: warning[-Wdeprecated-declarations]: 'gtk_dialog_get_action_area' is deprecated
Error: CPPCHECK_WARNING (CWE-457): [#def160]
avahi-0.9-rc2/avahi-utils/avahi-browse.c:151: warning[uninitvar]: Uninitialized variable: to
Error: COMPILER_WARNING (CWE-252): [#def161]
avahi-0.9-rc2/avahi-utils/sigint.c: scope_hint: In function ‘handler’
avahi-0.9-rc2/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.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
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-249.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | avahi-0.9~rc2-3.fc43 |
store-results-to | /tmp/tmpltix72uy/avahi-0.9~rc2-3.fc43.tar.xz |
time-created | 2025-04-25 12:06:40 |
time-finished | 2025-04-25 12:09:57 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpltix72uy/avahi-0.9~rc2-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpltix72uy/avahi-0.9~rc2-3.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |