passim-0.1.7-1.fc41
List of Defects
Error: CLANG_WARNING: [#def1]
passim-0.1.7/redhat-linux-build/tmp-introspect4u_3y47w/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.7/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.7/src/passim-server.c:908:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'ctx'
# 906| /* only GET supported */
# 907| if (soup_server_message_get_method(msg) != SOUP_METHOD_GET) {
# 908|-> passim_server_msg_send_error(self, msg, SOUP_STATUS_FORBIDDEN, NULL);
# 909| return;
# 910| }
Error: CLANG_WARNING: [#def4]
passim-0.1.7/src/passim-server.c:1630:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'self'
# 1628| g_option_context_add_main_entries(context, options, NULL);
# 1629| if (!g_option_context_parse(context, &argc, &argv, &error)) {
# 1630|-> g_printerr("Failed to parse arguments: %s", error->message);
# 1631| return EXIT_FAILURE;
# 1632| }
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.7-1.fc41 |
store-results-to | /tmp/tmpdwu2f42t/passim-0.1.7-1.fc41.tar.xz |
time-created | 2024-04-22 11:08:24 |
time-finished | 2024-04-22 11:09:29 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdwu2f42t/passim-0.1.7-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpdwu2f42t/passim-0.1.7-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |