Task #187 - passim-0.1.5-3.fc40/scan-results.err

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

Error: CLANG_WARNING:
passim-0.1.5/src/passim-server.c:760:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
#  758|   	/* only GET supported */
#  759|   	if (soup_server_message_get_method(msg) != SOUP_METHOD_GET) {
#  760|-> 		passim_server_msg_send_error(self, msg, SOUP_STATUS_FORBIDDEN, NULL);
#  761|   		return;
#  762|   	}

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