passim-0.1.5-3.fc40
List of Defects
Error: CLANG_WARNING: [#def1]
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: [#def2]
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: [#def3]
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: [#def4]
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| }
Scan Properties
analyzer-version-clang | 18.1.3 |
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-210.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | passim-0.1.5-3.fc40 |
store-results-to | /tmp/tmp46y9b9l1/passim-0.1.5-3.fc40.tar.xz |
time-created | 2024-04-22 11:06:21 |
time-finished | 2024-04-22 11:07:58 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp46y9b9l1/passim-0.1.5-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp46y9b9l1/passim-0.1.5-3.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |