Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
avahi-0.9.rc3/avahi-glib/glib-watch.c: scope_hint: In function 'prepare_func'
avahi-0.9.rc3/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.rc3/avahi-glib/glib-watch.h:28: included_from: Included from here.
avahi-0.9.rc3/avahi-glib/glib-watch.c:28: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
#  267|   
#  268|       if ((next_timeout = find_next_timeout(g))) {
#  269|->         GTimeVal now;
#  270|           struct timeval tvnow;
#  271|           AvahiUsec usec;

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

Error: COMPILER_WARNING (CWE-477): [#def3]
avahi-0.9.rc3/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:802:10: note: declared here
#  271|           AvahiUsec usec;
#  272|   
#  273|->         g_source_get_current_time(source, &now);
#  274|           tvnow.tv_sec = now.tv_sec;
#  275|           tvnow.tv_usec = now.tv_usec;

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

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

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

Error: COMPILER_WARNING (CWE-477): [#def7]
avahi-0.9.rc3/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:802:10: note: declared here
#  299|           GTimeVal now;
#  300|           struct timeval tvnow;
#  301|->         g_source_get_current_time(source, &now);
#  302|           tvnow.tv_sec = now.tv_sec;
#  303|           tvnow.tv_usec = now.tv_usec;

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

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

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

Error: COMPILER_WARNING (CWE-477): [#def11]
avahi-0.9.rc3/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:802:10: note: declared here
#  324|           GTimeVal now;
#  325|           struct timeval tvnow;
#  326|->         g_source_get_current_time(source, &now);
#  327|           tvnow.tv_sec = now.tv_sec;
#  328|           tvnow.tv_usec = now.tv_usec;

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

Scan Properties

analyzer-version-clang21.1.8
analyzer-version-clippy1.93.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clang21.1.8
diffbase-analyzer-version-clippy1.93.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-240.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameavahi-0.9.rc3-8.20260128102742110169.pr3.2.g3e12dba
diffbase-store-results-to/tmp/tmp5aixua_1/avahi-0.9.rc3-8.20260128102742110169.pr3.2.g3e12dba.tar.xz
diffbase-time-created2026-01-28 10:42:14
diffbase-time-finished2026-01-28 10:46:12
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,gcc,clippy' '-o' '/tmp/tmp5aixua_1/avahi-0.9.rc3-8.20260128102742110169.pr3.2.g3e12dba.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmp5aixua_1/avahi-0.9.rc3-8.20260128102742110169.pr3.2.g3e12dba.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclang, clippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-240.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260119.105402.g7a5be1b.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameavahi-0.9.rc3-8.20260127194515214336.master.0.g4294bbf
store-results-to/tmp/tmpcl89hgud/avahi-0.9.rc3-8.20260127194515214336.master.0.g4294bbf.tar.xz
time-created2026-01-28 10:37:27
time-finished2026-01-28 10:42:00
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,shellcheck,cppcheck,gcc,clippy' '-o' '/tmp/tmpcl89hgud/avahi-0.9.rc3-8.20260127194515214336.master.0.g4294bbf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--cppcheck-add-flag=--enable=style' '-t' 'clang' '/tmp/tmpcl89hgud/avahi-0.9.rc3-8.20260127194515214336.master.0.g4294bbf.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9