msgraph-0.2.3-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
msgraph-0.2.3-build/msgraph-0.2.3/redhat-linux-build/tmp-introspectpgkfahnd/Msg-0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def2]
msgraph-0.2.3-build/msgraph-0.2.3/redhat-linux-build/tmp-introspectpgkfahnd/Msg-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: [#def3]
msgraph-0.2.3-build/msgraph-0.2.3/src/contact/msg-contact-service.c:82:5: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
# 80|
# 81| message = msg_service_build_message (MSG_SERVICE (self), "GET", url, NULL, FALSE);
# 82|-> parser = msg_service_send_and_parse_response (MSG_SERVICE (self), message, &root_object, cancellable, error);
# 83|
# 84| array = json_object_get_array_member (root_object, "value");
Error: CPPCHECK_WARNING: [#def4]
msgraph-0.2.3-build/msgraph-0.2.3/src/drive/msg-drive-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def5]
msgraph-0.2.3-build/msgraph-0.2.3/src/drive/msg-drive-service.c:749:3: warning[deadcode.DeadStores]: Value stored to 'response' is never read
# 747| soup_message_set_request_body_from_bytes (message, "application/json", body);
# 748|
# 749|-> response = msg_service_send_and_read (MSG_SERVICE (self), message, cancellable, &local_error);
# 750| if (local_error) {
# 751| g_propagate_error (error, g_steal_pointer (&local_error));
Error: CLANG_WARNING: [#def6]
msgraph-0.2.3-build/msgraph-0.2.3/src/drive/msg-drive-service.c:825:3: warning[deadcode.DeadStores]: Value stored to 'parser' is never read
# 823| }
# 824|
# 825|-> parser = msg_service_parse_response (response, &root_object, &local_error);
# 826| if (local_error != NULL) {
# 827| g_propagate_error (error, g_steal_pointer (&local_error));
Error: CPPCHECK_WARNING: [#def7]
msgraph-0.2.3-build/msgraph-0.2.3/src/msg-input-stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def8]
msgraph-0.2.3-build/msgraph-0.2.3/src/msg-oauth2-authorizer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
msgraph-0.2.3-build/msgraph-0.2.3/tests/common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-120): [#def10]
msgraph-0.2.3-build/msgraph-0.2.3/tests/common.c:32: error[invalidScanfFormatWidth]: Width 200 given in format string (no. 1) is larger than destination buffer 'verifier[200]', use %199s to prevent overflowing it.
# 30| g_print ("Please navigate to the following URI and grant access: %s\n", authentication_uri);
# 31| g_print ("Enter verifier (EOF to skip test): ");
# 32|-> if (scanf ("%200s", verifier) != 1) {
# 33| /* Skip the test */
# 34| g_test_message ("Skipping test on user request.");
Error: CPPCHECK_WARNING: [#def11]
msgraph-0.2.3-build/msgraph-0.2.3/tests/contact.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def12]
msgraph-0.2.3-build/msgraph-0.2.3/tests/drive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-1164): [#def13]
msgraph-0.2.3-build/msgraph-0.2.3/tests/drive.c:216:1: warning[-Wunused-function]: ‘test_item_file_move’ defined but not used
# 216 | test_item_file_move (TempItemData *data,
# | ^~~~~~~~~~~~~~~~~~~
# 214|
# 215| static void
# 216|-> test_item_file_move (TempItemData *data,
# 217| __attribute__ ((unused)) const void *user_data)
# 218| {
Error: CPPCHECK_WARNING: [#def14]
msgraph-0.2.3-build/msgraph-0.2.3/tests/message.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def15]
msgraph-0.2.3-build/msgraph-0.2.3/tests/service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-11.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | msgraph-0.2.3-1.fc41 |
store-results-to | /tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.tar.xz |
time-created | 2024-07-03 16:20:09 |
time-finished | 2024-07-03 16:21:32 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6qb2dv1i/msgraph-0.2.3-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |