libproxy-0.5.5-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
libproxy-0.5.5/redhat-linux-build/tmp-introspect7lcq3kft/Libproxy-1.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Error: CLANG_WARNING: [#def2]
libproxy-0.5.5/tests/px-manager-test.c:192:3: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  190|     g_autoptr (GThread) thread = NULL;
#  191|   
#  192|->   thread = g_thread_new ("test", (GThreadFunc)download_pac, self);
#  193|     g_main_loop_run (self->loop);
#  194|   }

Error: CLANG_WARNING: [#def3]
libproxy-0.5.5/tests/px-manager-test.c:286:3: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  284|     g_autoptr (GThread) thread = NULL;
#  285|   
#  286|->   thread = g_thread_new ("test", (GThreadFunc)get_proxies_pac, self);
#  287|     g_main_loop_run (self->loop);
#  288|   }

Error: CLANG_WARNING: [#def4]
libproxy-0.5.5/tests/px-manager-test.c:297:3: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  295|   
#  296|     g_setenv("PX_DEBUG", "1", TRUE);
#  297|->   thread = g_thread_new ("test", (GThreadFunc)get_proxies_pac, self);
#  298|     g_main_loop_run (self->loop);
#  299|     g_unsetenv ("PX_DEBUG");

Error: CLANG_WARNING: [#def5]
libproxy-0.5.5/tests/px-manager-test.c:323:3: warning[deadcode.DeadStores]: Value stored to 'thread' is never read
#  321|     g_autoptr (GThread) thread = NULL;
#  322|   
#  323|->   thread = g_thread_new ("test", (GThreadFunc)get_wpad, self);
#  324|     g_main_loop_run (self->loop);
#  325|   }

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-82.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibproxy-0.5.5-1.fc41
store-results-to/tmp/tmpjn_hnzqb/libproxy-0.5.5-1.fc41.tar.xz
time-created2024-04-22 11:11:41
time-finished2024-04-22 11:12:51
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjn_hnzqb/libproxy-0.5.5-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjn_hnzqb/libproxy-0.5.5-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9