Task #917 - msgraph-0.2.3-1.fc41/scan-results.err
back to task #917download
Error: CPPCHECK_WARNING: 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: 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: 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: 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: 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: 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: 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: 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: 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): 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: 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: 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): 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: 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: 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.