passim-0.1.6-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
passim-0.1.6/redhat-linux-build/tmp-introspectw7p7owyb/Passim-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]
passim-0.1.6/src/passim-cli.c:123:2: warning[unix.Malloc]: Potential leak of memory pointed to by 'values_copy'
#  121|   
#  122|   	/* not found */
#  123|-> 	g_set_error_literal(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT, "Command not found");
#  124|   	return FALSE;
#  125|   }

Error: CLANG_WARNING: [#def3]
passim-0.1.6/src/passim-server.c:901:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
#  899|   	/* only GET supported */
#  900|   	if (soup_server_message_get_method(msg) != SOUP_METHOD_GET) {
#  901|-> 		passim_server_msg_send_error(self, msg, SOUP_STATUS_FORBIDDEN, NULL);
#  902|   		return;
#  903|   	}

Error: CLANG_WARNING: [#def4]
passim-0.1.6/src/passim-server.c:1616:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'self'
# 1614|   	g_option_context_add_main_entries(context, options, NULL);
# 1615|   	if (!g_option_context_parse(context, &argc, &argv, &error)) {
# 1616|-> 		g_printerr("Failed to parse arguments: %s", error->message);
# 1617|   		return EXIT_FAILURE;
# 1618|   	}

Scan Properties

analyzer-version-clang18.1.2
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-222.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepassim-0.1.6-1.fc41
store-results-to/tmp/tmp4uwjiyt3/passim-0.1.6-1.fc41.tar.xz
time-created2024-04-17 06:14:20
time-finished2024-04-17 06:15:25
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'shellcheck,clang,cppcheck,gcc' '-o' '/tmp/tmp4uwjiyt3/passim-0.1.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp4uwjiyt3/passim-0.1.6-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9