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-clang | 18.1.2 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-222.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | passim-0.1.6-1.fc41 |
store-results-to | /tmp/tmp4uwjiyt3/passim-0.1.6-1.fc41.tar.xz |
time-created | 2024-04-17 06:14:20 |
time-finished | 2024-04-17 06:15:25 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |