ModemManager-1.24.2-1.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
ModemManager-1.24.2/cli/mmcli-common.c:184:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘modem_physdev’
ModemManager-1.24.2/cli/mmcli-common.c:1779:1: enter_function: entry to ‘mmcli_get_cbm_sync’
ModemManager-1.24.2/cli/mmcli-common.c:1790:5: call_function: calling ‘get_object_lookup_info’ from ‘mmcli_get_cbm_sync’
#  182|       if (g_str_has_prefix (str, "/")) {
#  183|           g_debug ("Assuming '%s' is the %s physdev path", str, object_type);
#  184|->         *modem_physdev = g_strdup (str);
#  185|           return;
#  186|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:325:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:270:1: enter_function: entry to ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:281:5: call_function: calling ‘ensure_modem_3gpp_profile_manager’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:281:5: return_function: returning to ‘get_modem_ready’ from ‘ensure_modem_3gpp_profile_manager’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:283:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:287:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:287:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:297:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:297:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:317:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:317:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:319:34: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:319:34: release_memory: ‘error’ is NULL
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:323:19: call_function: calling ‘delete_build_input’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:323:19: return_function: returning to ‘get_modem_ready’ from ‘delete_build_input’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:324:12: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:325:70: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:325:70: release_memory: ‘error’ is NULL
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:325:13: danger: dereference of NULL ‘error’
#  323|           profile = delete_build_input (delete_str, &error);
#  324|           if (!profile) {
#  325|->             g_printerr ("Error parsing profile string: '%s'\n", error->message);
#  326|               exit (EXIT_FAILURE);
#  327|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def3]
ModemManager-1.24.2/cli/mmcli-output.c:1536:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_path’
ModemManager-1.24.2/cli/mmcli-output.c:1493:28: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
ModemManager-1.24.2/cli/mmcli-output.c:1494:21: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1496:12: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1526:13: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1529:12: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1533:17: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1533:16: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1533:16: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1536:13: danger: dereference of NULL ‘current_path + (long unsigned int)cur_dlen * 8’
# 1534|                   escaped = json_strescape (single->value);
# 1535|   
# 1536|->             g_print ("\"%s\":\"%s\"", current_path[cur_dlen], escaped ? escaped : "--");
# 1537|               g_free (escaped);
# 1538|           } else if (item_l->type == VALUE_TYPE_MULTIPLE) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
ModemManager-1.24.2/cli/mmcli-output.c:1544:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_path’
ModemManager-1.24.2/cli/mmcli-output.c:1493:28: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
ModemManager-1.24.2/cli/mmcli-output.c:1494:21: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1496:12: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1526:13: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1529:12: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1538:19: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1538:19: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-output.c:1542:17: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-output.c:1544:13: danger: dereference of NULL ‘current_path + (long unsigned int)cur_dlen * 8’
# 1542|               n = multiple->values ? g_strv_length (multiple->values) : 0;
# 1543|   
# 1544|->             g_print ("\"%s\":[", current_path[cur_dlen]);
# 1545|               for (i = 0; i < n; i++) {
# 1546|                   if (multiple->is_object) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def5]
ModemManager-1.24.2/libmm-glib/mm-3gpp-profile.h:74:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘profile_stored’
ModemManager-1.24.2/src/mm-iface-modem-3gpp-profile-manager.c:1181:1: enter_function: entry to ‘set_profile_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp-profile-manager.c:1189:22: call_function: inlined call to ‘mm_iface_modem_3gpp_profile_manager_set_profile_finish’ from ‘set_profile_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp-profile-manager.c:1186:31: call_function: inlined call to ‘glib_autoptr_cleanup_MM3gppProfile’ from ‘set_profile_ready’
#   72|   
#   73|   GType mm_3gpp_profile_get_type (void);
#   74|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MM3gppProfile, g_object_unref)
#   75|   
#   76|   MM3gppProfile *mm_3gpp_profile_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
ModemManager-1.24.2/libmm-glib/mm-3gpp-profile.h:74:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘profile’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:270:1: enter_function: entry to ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:281:5: call_function: calling ‘ensure_modem_3gpp_profile_manager’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:281:5: return_function: returning to ‘get_modem_ready’ from ‘ensure_modem_3gpp_profile_manager’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:283:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:287:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:287:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:297:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:297:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:317:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:317:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:319:34: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:321:9: throw: if ‘g_log’ throws an exception...
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:319:34: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-3gpp-profile-manager.c:318:34: call_function: inlined call to ‘glib_autoptr_cleanup_MM3gppProfile’ from ‘get_modem_ready’
#   72|   
#   73|   GType mm_3gpp_profile_get_type (void);
#   74|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MM3gppProfile, g_object_unref)
#   75|   
#   76|   MM3gppProfile *mm_3gpp_profile_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def7]
ModemManager-1.24.2/libmm-glib/mm-3gpp-profile.h:74:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘requested’
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2929:1: enter_function: entry to ‘test_profile_selection’
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2933:17: branch_true: following ‘true’ branch (when ‘i != 9’)...
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2939:37: branch_true: ...to here
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2947:21: throw: if ‘mm_3gpp_profile_new’ throws an exception...
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2942:37: call_function: inlined call to ‘glib_autoptr_cleanup_MM3gppProfile’ from ‘test_profile_selection’
ModemManager-1.24.2/src/tests/test-modem-helpers.c:2941:37: call_function: inlined call to ‘glib_autoptr_cleanup_MM3gppProfile’ from ‘test_profile_selection’
#   72|   
#   73|   GType mm_3gpp_profile_get_type (void);
#   74|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MM3gppProfile, g_object_unref)
#   75|   
#   76|   MM3gppProfile *mm_3gpp_profile_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def8]
ModemManager-1.24.2/libmm-glib/mm-bearer-ip-config.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ipv4_config’
ModemManager-1.24.2/src/mm-broadband-bearer.c:741:11: throw: if ‘g_task_get_task_data’ throws an exception...
ModemManager-1.24.2/src/mm-broadband-bearer.c:738:39: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerIpConfig’ from ‘dial_3gpp_ready’
#   62|   
#   63|   GType mm_bearer_ip_config_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerIpConfig, g_object_unref)
#   65|   
#   66|   MMBearerIpMethod   mm_bearer_ip_config_get_method  (MMBearerIpConfig *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def9]
ModemManager-1.24.2/libmm-glib/mm-bearer-ip-config.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ipv6_config’
ModemManager-1.24.2/src/mm-broadband-bearer.c:744:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-broadband-bearer.c:754:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-broadband-bearer.c:785:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-broadband-bearer.c:786:13: branch_false: ...to here
ModemManager-1.24.2/src/mm-broadband-bearer.c:785:9: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-broadband-bearer.c:790:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-broadband-bearer.c:790:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-broadband-bearer.c:792:23: branch_true: ...to here
ModemManager-1.24.2/src/mm-broadband-bearer.c:793:9: throw: if ‘mm_bearer_ip_config_set_method’ throws an exception...
ModemManager-1.24.2/src/mm-broadband-bearer.c:739:39: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerIpConfig’ from ‘dial_3gpp_ready’
#   62|   
#   63|   GType mm_bearer_ip_config_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerIpConfig, g_object_unref)
#   65|   
#   66|   MMBearerIpMethod   mm_bearer_ip_config_get_method  (MMBearerIpConfig *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def10]
ModemManager-1.24.2/libmm-glib/mm-bearer-properties.h:66:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘config’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3635:1: enter_function: entry to ‘load_initial_eps_bearer_settings_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3643:11: throw: if ‘g_task_get_task_data’ throws an exception...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3641:36: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘load_initial_eps_bearer_settings_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3640:36: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerProperties’ from ‘load_initial_eps_bearer_settings_ready’
#   64|   
#   65|   GType mm_bearer_properties_get_type (void);
#   66|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerProperties, g_object_unref)
#   67|   
#   68|   MMBearerProperties *mm_bearer_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def11]
ModemManager-1.24.2/libmm-glib/mm-bearer-properties.h:66:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_config’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1257:5: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1257:5: branch_false: ...to here
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1257:5: throw: if ‘g_assertion_message_expr’ throws an exception...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1254:35: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerProperties’ from ‘handle_set_initial_eps_bearer_settings_reload_ready’
#   64|   
#   65|   GType mm_bearer_properties_get_type (void);
#   66|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerProperties, g_object_unref)
#   67|   
#   68|   MMBearerProperties *mm_bearer_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def12]
ModemManager-1.24.2/libmm-glib/mm-bearer-properties.h:66:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘properties’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3280:1: enter_function: entry to ‘sync_eps_bearer_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3288:11: throw: if ‘g_task_get_task_data’ throws an exception...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3286:36: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘sync_eps_bearer_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:3285:36: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerProperties’ from ‘sync_eps_bearer_ready’
#   64|   
#   65|   GType mm_bearer_properties_get_type (void);
#   66|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerProperties, g_object_unref)
#   67|   
#   68|   MMBearerProperties *mm_bearer_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def13]
ModemManager-1.24.2/libmm-glib/mm-cell-info.h:70:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘self’
ModemManager-1.24.2/libmm-glib/mm-cell-info.c:160:12: throw: if ‘g_variant_dict_new’ throws an exception...
ModemManager-1.24.2/libmm-glib/mm-cell-info.c:156:30: call_function: inlined call to ‘glib_autoptr_cleanup_MMCellInfo’ from ‘mm_cell_info_new_from_dictionary’
#   68|   
#   69|   GType mm_cell_info_get_type (void);
#   70|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMCellInfo, g_object_unref)
#   71|   
#   72|   MMCellType mm_cell_info_get_cell_type (MMCellInfo *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def14]
ModemManager-1.24.2/libmm-glib/mm-firmware-update-settings.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘update_settings’
ModemManager-1.24.2/src/plugins/fibocom/mm-shared-fibocom.c:237:1: enter_function: entry to ‘parent_load_update_settings_ready’
ModemManager-1.24.2/src/plugins/fibocom/mm-shared-fibocom.c:247:12: call_function: calling ‘get_private’ from ‘parent_load_update_settings_ready’
ModemManager-1.24.2/src/plugins/fibocom/mm-shared-fibocom.c:245:42: call_function: inlined call to ‘glib_autoptr_cleanup_MMFirmwareUpdateSettings’ from ‘parent_load_update_settings_ready’
#   62|   
#   63|   GType mm_firmware_update_settings_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMFirmwareUpdateSettings, g_object_unref)
#   65|   
#   66|   MMModemFirmwareUpdateMethod mm_firmware_update_settings_get_method (MMFirmwareUpdateSettings *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def15]
ModemManager-1.24.2/libmm-glib/mm-kernel-event-properties.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘props’
ModemManager-1.24.2/src/kerneldevice/mm-kernel-device-generic.c:1144:1: enter_function: entry to ‘initable_init’
ModemManager-1.24.2/src/kerneldevice/mm-kernel-device-generic.c:1151:5: call_function: calling ‘check_preload’ from ‘initable_init’
#   62|   
#   63|   GType mm_kernel_event_properties_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMKernelEventProperties, g_object_unref)
#   65|   
#   66|   MMKernelEventProperties *mm_kernel_event_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def16]
ModemManager-1.24.2/libmm-glib/mm-location-gps-nmea.c:84:9: warning[-Wanalyzer-null-argument]: use of NULL ‘trace’ where non-null expected
ModemManager-1.24.2/libmm-glib/mm-location-gps-nmea.c:131:1: enter_function: entry to ‘mm_location_gps_nmea_add_trace’
ModemManager-1.24.2/libmm-glib/mm-location-gps-nmea.c:134:12: call_function: calling ‘location_gps_nmea_take_trace’ from ‘mm_location_gps_nmea_add_trace’
#   82|       gchar *trace_type;
#   83|   
#   84|->     i = strchr (trace, ',');
#   85|       if (!i || i == trace) {
#   86|           g_free (trace);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def17]
ModemManager-1.24.2/libmm-glib/mm-manager.h:69:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘manager’
ModemManager-1.24.2/test/mmcbmmonitor.c:145:5: enter_function: entry to ‘main’
ModemManager-1.24.2/test/mmcbmmonitor.c:162:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/test/mmcbmmonitor.c:166:18: branch_false: ...to here
ModemManager-1.24.2/test/mmcbmmonitor.c:167:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/test/mmcbmmonitor.c:173:15: branch_false: ...to here
ModemManager-1.24.2/test/mmcbmmonitor.c:177:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/test/mmcbmmonitor.c:183:18: branch_false: ...to here
ModemManager-1.24.2/test/mmcbmmonitor.c:184:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/test/mmcbmmonitor.c:189:18: branch_false: ...to here
ModemManager-1.24.2/test/mmcbmmonitor.c:150:23: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘main’
ModemManager-1.24.2/test/mmcbmmonitor.c:149:27: call_function: inlined call to ‘glib_autoptr_cleanup_MMManager’ from ‘main’
#   67|   
#   68|   GType mm_manager_get_type (void);
#   69|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMManager, g_object_unref)
#   70|   
#   71|   void mm_manager_new (

Error: GCC_ANALYZER_WARNING (CWE-457): [#def18]
ModemManager-1.24.2/libmm-glib/mm-modem-messaging.h:68:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘messaging’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:39:1: enter_function: entry to ‘send_sms’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:47:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:53:11: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:54:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:61:10: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:61:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:68:5: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:43:33: call_function: inlined call to ‘glib_autoptr_cleanup_MMSms’ from ‘send_sms’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:42:33: call_function: inlined call to ‘glib_autoptr_cleanup_MMModemMessaging’ from ‘send_sms’
#   66|   
#   67|   GType mm_modem_messaging_get_type (void);
#   68|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMModemMessaging, g_object_unref)
#   69|   
#   70|   const gchar *mm_modem_messaging_get_path (MMModemMessaging *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def19]
ModemManager-1.24.2/libmm-glib/mm-network-rejection.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_code’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2354:1: enter_function: entry to ‘update_registration_state’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2361:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2364:5: branch_false: ...to here
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2369:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2386:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2386:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2390:9: branch_true: ...to here
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:2390:9: call_function: calling ‘mm_iface_modem_3gpp_update_network_rejection’ from ‘update_registration_state’
#   62|   
#   63|   GType mm_network_rejection_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMNetworkRejection, g_object_unref)
#   65|   
#   66|   MMNetworkError          mm_network_rejection_get_error             (MMNetworkRejection *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
ModemManager-1.24.2/libmm-glib/mm-nr5g-registration-settings.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘new_settings’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1835:1: enter_function: entry to ‘after_set_load_nr5g_registration_settings_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1843:20: call_function: calling ‘MM_IFACE_MODEM_3GPP_GET_IFACE’ from ‘after_set_load_nr5g_registration_settings_ready’
ModemManager-1.24.2/src/mm-iface-modem-3gpp.c:1840:44: call_function: inlined call to ‘glib_autoptr_cleanup_MMNr5gRegistrationSettings’ from ‘after_set_load_nr5g_registration_settings_ready’
#   62|   
#   63|   GType mm_nr5g_registration_settings_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMNr5gRegistrationSettings, g_object_unref)
#   65|   
#   66|   MMNr5gRegistrationSettings *mm_nr5g_registration_settings_new           (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def21]
ModemManager-1.24.2/libmm-glib/mm-object.h:80:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cbm_list’
ModemManager-1.24.2/test/mmcbmmonitor.c:97:16: throw: if ‘mm_modem_cell_broadcast_list_sync’ throws an exception...
ModemManager-1.24.2/test/mmcbmmonitor.c:93:27: call_function: inlined call to ‘glib_listautoptr_cleanup_MMObject’ from ‘cbm_added’
#   78|   
#   79|   GType mm_object_get_type (void);
#   80|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMObject, g_object_unref)
#   81|   
#   82|   const gchar *mm_object_get_path (MMObject *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
ModemManager-1.24.2/libmm-glib/mm-object.h:80:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘modem_list’
ModemManager-1.24.2/test/mmcbmmonitor.c:158:15: throw: if ‘g_option_context_new’ throws an exception...
ModemManager-1.24.2/test/mmcbmmonitor.c:152:27: call_function: inlined call to ‘glib_listautoptr_cleanup_MMObject’ from ‘main’
#   78|   
#   79|   GType mm_object_get_type (void);
#   80|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMObject, g_object_unref)
#   81|   
#   82|   const gchar *mm_object_get_path (MMObject *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def23]
ModemManager-1.24.2/libmm-glib/mm-object.h:80:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘objects’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:72:5: enter_function: entry to ‘main’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:81:8: branch_false: following ‘false’ branch (when ‘argc > 2’)...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:87:18: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:88:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:93:15: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:97:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:102:18: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:103:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:108:15: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:109:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:114:18: branch_false: ...to here
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:78:33: call_function: inlined call to ‘glib_autoptr_cleanup_MMSmsProperties’ from ‘main’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:77:33: call_function: inlined call to ‘glib_listautoptr_cleanup_MMObject’ from ‘main’
#   78|   
#   79|   GType mm_object_get_type (void);
#   80|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMObject, g_object_unref)
#   81|   
#   82|   const gchar *mm_object_get_path (MMObject *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def24]
ModemManager-1.24.2/libmm-glib/mm-signal-threshold-properties.h:65:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘properties’
ModemManager-1.24.2/cli/mmcli-modem-signal.c:334:1: enter_function: entry to ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-signal.c:341:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-modem-signal.c:342:9: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-modem-signal.c:344:5: call_function: calling ‘ensure_modem_signal’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-signal.c:344:5: return_function: returning to ‘get_modem_ready’ from ‘ensure_modem_signal’
ModemManager-1.24.2/cli/mmcli-modem-signal.c:346:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-signal.c:350:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-signal.c:350:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/cli/mmcli-modem-signal.c:368:9: branch_false: ...to here
ModemManager-1.24.2/cli/mmcli-modem-signal.c:368:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/cli/mmcli-modem-signal.c:370:48: branch_true: ...to here
ModemManager-1.24.2/cli/mmcli-modem-signal.c:372:22: throw: if ‘mm_signal_threshold_properties_new_from_string’ throws an exception...
ModemManager-1.24.2/cli/mmcli-modem-signal.c:370:48: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘get_modem_ready’
ModemManager-1.24.2/cli/mmcli-modem-signal.c:369:48: call_function: inlined call to ‘glib_autoptr_cleanup_MMSignalThresholdProperties’ from ‘get_modem_ready’
#   63|   
#   64|   GType mm_signal_threshold_properties_get_type (void);
#   65|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSignalThresholdProperties, g_object_unref)
#   66|   
#   67|   MMSignalThresholdProperties *mm_signal_threshold_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
ModemManager-1.24.2/libmm-glib/mm-signal.h:74:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nr5g’
ModemManager-1.24.2/src/tests/test-modem-helpers-mbim.c:137:10: branch_true: following ‘true’ branch (when ‘count != 2’)...
ModemManager-1.24.2/src/tests/test-modem-helpers-mbim.c:137:49: branch_true: ...to here
ModemManager-1.24.2/src/tests/test-modem-helpers-mbim.c:140:15: throw: if ‘mm_signal_from_mbim_signal_state’ throws an exception...
ModemManager-1.24.2/src/tests/test-modem-helpers-mbim.c:133:32: call_function: inlined call to ‘glib_autoptr_cleanup_MMSignal’ from ‘test_signal_state_case’
#   72|   
#   73|   GType mm_signal_get_type (void);
#   74|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSignal, g_object_unref)
#   75|   
#   76|   gdouble  mm_signal_get_rssi       (MMSignal *self);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def26]
ModemManager-1.24.2/libmm-glib/mm-sms-properties.h:64:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘properties’
ModemManager-1.24.2/src/mm-iface-modem-messaging.c:276:10: throw: if ‘mm_base_modem_authorize_finish’ throws an exception...
ModemManager-1.24.2/src/mm-iface-modem-messaging.c:273:33: call_function: inlined call to ‘glib_autoptr_cleanup_MMSmsProperties’ from ‘handle_create_auth_ready’
#   62|   
#   63|   GType mm_sms_properties_get_type (void);
#   64|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSmsProperties, g_object_unref)
#   65|   
#   66|   MMSmsProperties *mm_sms_properties_new (void);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
ModemManager-1.24.2/libmm-glib/mm-sms.h:65:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sms’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:39:1: enter_function: entry to ‘send_sms’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:46:17: throw: if ‘mm_object_get_modem_messaging’ throws an exception...
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:44:33: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘send_sms’
ModemManager-1.24.2/examples/sms-c/sms-c-sync.c:43:33: call_function: inlined call to ‘glib_autoptr_cleanup_MMSms’ from ‘send_sms’
#   63|   
#   64|   GType mm_sms_get_type (void);
#   65|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMSms, g_object_unref)
#   66|   
#   67|   const gchar *mm_sms_get_path                     (MMSms *self);

Error: CPPCHECK_WARNING (CWE-476): [#def28]
ModemManager-1.24.2/libqcdm/src/commands.c:1744: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cmd
# 1742|   
# 1743|       cmd = calloc (1, cmdbufsize);
# 1744|->     cmd->code = DIAG_CMD_LOG_CONFIG;
# 1745|       cmd->op = htole32 (op);
# 1746|       cmd->equipid = htole32 (equip_id);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
ModemManager-1.24.2/libqcdm/src/commands.c:1744:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmd’
ModemManager-1.24.2/libqcdm/src/commands.c:1725:5: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
ModemManager-1.24.2/libqcdm/src/commands.c:1726:5: branch_false: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1726:5: branch_false: following ‘false’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1729:8: branch_false: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1741:5: branch_false: following ‘false’ branch (when ‘cmdsize <= len’)...
ModemManager-1.24.2/libqcdm/src/commands.c:1743:11: branch_false: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1743:11: acquire_memory: this call could return NULL
ModemManager-1.24.2/libqcdm/src/commands.c:1744:5: danger: ‘cmd’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
# 1742|   
# 1743|       cmd = calloc (1, cmdbufsize);
# 1744|->     cmd->code = DIAG_CMD_LOG_CONFIG;
# 1745|       cmd->op = htole32 (op);
# 1746|       cmd->equipid = htole32 (equip_id);

Error: CPPCHECK_WARNING (CWE-476): [#def30]
ModemManager-1.24.2/libqcdm/src/commands.c:1745: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cmd
# 1743|       cmd = calloc (1, cmdbufsize);
# 1744|       cmd->code = DIAG_CMD_LOG_CONFIG;
# 1745|->     cmd->op = htole32 (op);
# 1746|       cmd->equipid = htole32 (equip_id);
# 1747|   

Error: CPPCHECK_WARNING (CWE-476): [#def31]
ModemManager-1.24.2/libqcdm/src/commands.c:1746: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cmd
# 1744|       cmd->code = DIAG_CMD_LOG_CONFIG;
# 1745|       cmd->op = htole32 (op);
# 1746|->     cmd->equipid = htole32 (equip_id);
# 1747|   
# 1748|       if (items) {

Error: CPPCHECK_WARNING (CWE-476): [#def32]
ModemManager-1.24.2/libqcdm/src/commands.c:1752: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cmd
# 1750|           for (i = 0; i < items_len; i++) {
# 1751|               log_code = items[i] & 0x0FFF;  /* Strip off equip ID */
# 1752|->             cmd->mask[log_code / 8] |= 1 << log_code % 8;
# 1753|           }
# 1754|           cmd->num_items = htole32 (highest);

Error: CPPCHECK_WARNING (CWE-476): [#def33]
ModemManager-1.24.2/libqcdm/src/commands.c:1754: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: cmd
# 1752|               cmd->mask[log_code / 8] |= 1 << log_code % 8;
# 1753|           }
# 1754|->         cmd->num_items = htole32 (highest);
# 1755|       }
# 1756|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
ModemManager-1.24.2/libqcdm/src/commands.c:1757:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cmd’
ModemManager-1.24.2/libqcdm/src/commands.c:1764:1: enter_function: entry to ‘qcdm_cmd_log_config_get_mask_new’
ModemManager-1.24.2/libqcdm/src/commands.c:1768:12: call_function: calling ‘qcdm_cmd_log_config_new’ from ‘qcdm_cmd_log_config_get_mask_new’
# 1755|       }
# 1756|   
# 1757|->     ret = dm_encapsulate_buffer ((char *) cmd, cmdsize, cmdbufsize, buf, len);
# 1758|       free (cmd);
# 1759|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
ModemManager-1.24.2/libqcdm/src/commands.c:1882:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘items’
ModemManager-1.24.2/libqcdm/src/commands.c:1867:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1867:8: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1878:12: branch_true: following ‘true’ branch (when ‘num_result_items != 0’)...
ModemManager-1.24.2/libqcdm/src/commands.c:1879:21: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1879:21: acquire_memory: this call could return NULL
ModemManager-1.24.2/libqcdm/src/commands.c:1880:25: branch_true: following ‘true’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1881:21: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1881:20: branch_true: following ‘true’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1882:38: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1882:21: danger: ‘items + (long unsigned int)count * 2’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
# 1880|               for (i = 0; i < num_items; i++) {
# 1881|                   if (LOG_CODE_SET (rsp->u.get_set_items.mask, i))
# 1882|->                     items[count++] = (equipid << 12) | (i & 0x0FFF);
# 1883|               }
# 1884|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
ModemManager-1.24.2/libqcdm/src/commands.c:1885:13: warning[-Wanalyzer-malloc-leak]: leak of ‘items’
ModemManager-1.24.2/libqcdm/src/commands.c:1867:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1867:8: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1878:12: branch_true: following ‘true’ branch (when ‘num_result_items != 0’)...
ModemManager-1.24.2/libqcdm/src/commands.c:1879:21: branch_true: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1879:21: acquire_memory: allocated here
ModemManager-1.24.2/libqcdm/src/commands.c:1881:20: branch_false: following ‘false’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1880:40: branch_false: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1880:25: branch_false: following ‘false’ branch...
ModemManager-1.24.2/libqcdm/src/commands.c:1885:13: branch_false: ...to here
ModemManager-1.24.2/libqcdm/src/commands.c:1885:13: throw: if ‘qcdm_result_add_u16_array’ throws an exception...
ModemManager-1.24.2/libqcdm/src/commands.c:1885:13: danger: ‘items’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
# 1883|               }
# 1884|   
# 1885|->             qcdm_result_add_u16_array (result, QCDM_CMD_LOG_CONFIG_MASK_ITEM_ITEMS, items, count);
# 1886|               free (items);
# 1887|           }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def37]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:436:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:436:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:438:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:438:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def41]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:440:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:398:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:440:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:385:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:392:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:393:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:397:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:398:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:479:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:446:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:451:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:452:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:456:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:479:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:446:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:451:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:452:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:456:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def45]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:481:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:446:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:451:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:452:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:456:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:481:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:446:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:451:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:452:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:456:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:522:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:497:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:501:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:502:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:522:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:497:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:501:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:502:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def49]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:524:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:497:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:501:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:502:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:524:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:497:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:501:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:502:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:506:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def51]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:553:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(actions_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:542:1: enter_function: entry to ‘output_actions’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:547:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:548:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:548:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:553:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:554:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:554:5: call_function: calling ‘output_object_actions’ from ‘output_actions’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:553:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(actions_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:542:1: enter_function: entry to ‘output_actions’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:547:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:548:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:548:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:553:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:554:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:554:5: call_function: calling ‘output_object_actions’ from ‘output_actions’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def53]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:618:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(args_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:607:1: enter_function: entry to ‘output_args’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:612:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:613:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:613:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:618:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:619:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:619:5: call_function: calling ‘output_object_args’ from ‘output_args’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:618:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(args_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:607:1: enter_function: entry to ‘output_args’
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:612:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:613:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:613:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:618:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:619:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/ModemManager-scan.c:619:5: call_function: calling ‘output_object_args’ from ‘output_args’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def55]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:493:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(signals_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:482:1: enter_function: entry to ‘output_signals’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:487:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:488:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:488:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:493:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:494:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:494:5: call_function: calling ‘output_object_signals’ from ‘output_signals’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:493:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(signals_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:482:1: enter_function: entry to ‘output_signals’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:487:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:488:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:488:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:493:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:494:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:494:5: call_function: calling ‘output_object_signals’ from ‘output_signals’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def57]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:808:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:808:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def59]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:810:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:810:14: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def61]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:812:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:770:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:812:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(hierarchy_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:757:1: enter_function: entry to ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:764:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:765:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:769:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:770:3: call_function: inlined call to ‘output_hierarchy’ from ‘output_object_hierarchy’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:851:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:818:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:823:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:824:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:828:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:851:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:818:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:823:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:824:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:828:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:853:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:818:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:823:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:824:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:828:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:853:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(interfaces_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:818:13: enter_function: entry to ‘output_object_interfaces’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:823:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:824:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:828:3: call_function: inlined call to ‘output_interfaces’ from ‘output_object_interfaces’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def67]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:894:19: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:869:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:873:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:874:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:894:19: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:869:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:873:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:874:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def69]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:896:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:869:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:873:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:874:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:896:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(prerequisites_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:869:13: enter_function: entry to ‘output_interface_prerequisites’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:873:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:874:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:878:3: call_function: calling ‘output_prerequisites’ from ‘output_interface_prerequisites’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def71]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:925:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(actions_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:914:1: enter_function: entry to ‘output_actions’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:919:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:920:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:920:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:925:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:926:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:926:5: call_function: calling ‘output_object_actions’ from ‘output_actions’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:925:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(actions_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:914:1: enter_function: entry to ‘output_actions’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:919:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:920:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:920:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:925:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:926:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:926:5: call_function: calling ‘output_object_actions’ from ‘output_actions’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:990:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(args_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:979:1: enter_function: entry to ‘output_args’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:984:8: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:985:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:985:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:990:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:991:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:991:5: call_function: calling ‘output_object_args’ from ‘output_args’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:990:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(args_filename, "w")’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:979:1: enter_function: entry to ‘output_args’
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:984:8: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:985:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:985:6: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:990:15: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:991:5: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/libmm-glib-scan.c:991:5: call_function: calling ‘output_object_args’ from ‘output_args’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def75]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:68:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:68:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def80]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:81:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:81:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def84]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:93:11: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:93:11: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def88]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:99:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:99:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def91]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:102:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:102:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:704:20: call_function: calling ‘read_line’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-404): [#def95]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:120:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:599:1: enter_function: entry to ‘dump_error_quark’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:601:3: call_function: calling ‘escaped_printf’ from ‘dump_error_quark’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def96]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def97]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:138:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:138:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’

Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:685:25: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/199/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:685:25: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: throw: if ‘g_file_error_quark’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:7: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/200/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:685:25: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/203/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_true: following ‘true’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:685:25: branch_true: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: throw: if ‘g_file_error_from_errno’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:686:41: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/204/codeFlows/0/threadFlows/0/locations/4)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def104]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was opened at [(6)](sarif:/runs/0/results/205/codeFlows/0/threadFlows/0/locations/5)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def105]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_resource: opened here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was opened at [(8)](sarif:/runs/0/results/206/codeFlows/0/threadFlows/0/locations/7)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(input_filename, "rb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: danger: ‘fopen(input_filename, "rb")’ leaks here; was allocated at [(6)](sarif:/runs/0/results/207/codeFlows/0/threadFlows/0/locations/5)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(output_filename, "wb")’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:630:1: enter_function: entry to ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:645:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:654:15: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:658:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:669:11: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:670:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:682:12: acquire_memory: allocated here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:683:6: branch_false: following ‘false’ branch...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: branch_false: ...to here
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:696:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: call_function: calling ‘goutput_write’ from ‘dump_irepository’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:697:3: return_function: returning to ‘dump_irepository’ from ‘goutput_write’
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: throw: if ‘g_hash_table_new’ throws an exception...
ModemManager-1.24.2/redhat-linux-build/tmp-introspectcbnyk948/ModemManager-1.0.c:699:18: danger: ‘fopen(output_filename, "wb")’ leaks here; was allocated at [(8)](sarif:/runs/0/results/208/codeFlows/0/threadFlows/0/locations/7)

Error: GCC_ANALYZER_WARNING (CWE-457): [#def108]
ModemManager-1.24.2/src/mm-base-bearer.h:41:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result’
ModemManager-1.24.2/src/mm-broadband-bearer.c:698:1: enter_function: entry to ‘get_ip_config_3gpp_ready’
ModemManager-1.24.2/src/mm-broadband-bearer.c:710:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-broadband-bearer.c:713:9: branch_true: ...to here
ModemManager-1.24.2/src/mm-broadband-bearer.c:713:9: throw: if ‘g_task_return_error’ throws an exception...
ModemManager-1.24.2/src/mm-broadband-bearer.c:706:39: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerIpConfig’ from ‘get_ip_config_3gpp_ready’
ModemManager-1.24.2/src/mm-broadband-bearer.c:705:39: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerIpConfig’ from ‘get_ip_config_3gpp_ready’
ModemManager-1.24.2/src/mm-broadband-bearer.c:704:39: call_function: inlined call to ‘glib_autoptr_cleanup_MMBearerConnectResult’ from ‘get_ip_config_3gpp_ready’
#   39|   MMBearerConnectResult *mm_bearer_connect_result_ref              (MMBearerConnectResult *result);
#   40|   
#   41|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBearerConnectResult, mm_bearer_connect_result_unref)
#   42|   
#   43|   MMPort                *mm_bearer_connect_result_peek_data        (MMBearerConnectResult *result);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def109]
ModemManager-1.24.2/src/mm-base-sim.h:213:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sim’
ModemManager-1.24.2/src/mm-shared-qmi.c:3733:1: enter_function: entry to ‘update_sim_from_slot_status’
ModemManager-1.24.2/src/mm-shared-qmi.c:3744:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3749:80: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3750:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3754:13: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3755:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3762:39: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3738:27: call_function: inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘update_sim_from_slot_status’
ModemManager-1.24.2/src/mm-shared-qmi.c:3737:27: call_function: inlined call to ‘glib_autoptr_cleanup_MMBaseSim’ from ‘update_sim_from_slot_status’
#  211|   
#  212|   GType mm_base_sim_get_type (void);
#  213|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMBaseSim, g_object_unref)
#  214|   
#  215|   void         mm_base_sim_new                        (MMBaseModem *modem,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def110]
ModemManager-1.24.2/src/mm-bearer-mbim.c:1739:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nw_error’
ModemManager-1.24.2/src/mm-bearer-mbim.c:1675:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1678:14: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1681:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1682:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1681:9: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1683:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1681:9: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1711:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1711:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1719:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1719:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1731:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1731:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-bearer-mbim.c:1739:16: branch_false: ...to here
ModemManager-1.24.2/src/mm-bearer-mbim.c:1739:16: danger: use of uninitialized value ‘nw_error’ here
# 1737|       }
# 1738|   
# 1739|->     nw_error = mm_broadband_modem_mbim_normalize_nw_error (ctx->modem, nw_error);
# 1740|       if (g_error_matches (error, MBIM_STATUS_ERROR, MBIM_STATUS_ERROR_FAILURE) && parsed_result && nw_error != 0) {
# 1741|           g_assert (!inner_error);

Error: COMPILER_WARNING (CWE-704): [#def111]
ModemManager-1.24.2/src/mm-broadband-modem.c: scope_hint: In function ‘decode_ussd_response’
ModemManager-1.24.2/src/mm-broadband-modem.c:6617:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 6617 |     p = strchr (reply, ',');
#      |       ^
# 6615|   
# 6616|       /* Look for the first ',' */
# 6617|->     p = strchr (reply, ',');
# 6618|       if (!p) {
# 6619|           g_set_error (error,

Error: COMPILER_WARNING (CWE-704): [#def112]
ModemManager-1.24.2/src/mm-broadband-modem.c:6617:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 6615|   
# 6616|       /* Look for the first ',' */
# 6617|->     p = strchr (reply, ',');
# 6618|       if (!p) {
# 6619|           g_set_error (error,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def113]
ModemManager-1.24.2/src/mm-charsets.c:694:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘settings’
ModemManager-1.24.2/src/mm-charsets.c:761:1: enter_function: entry to ‘mm_modem_charset_str_from_utf8’
ModemManager-1.24.2/src/mm-charsets.c:768:8: branch_false: following ‘false’ branch (when ‘charset != 0’)...
ModemManager-1.24.2/src/mm-charsets.c:774:17: branch_false: ...to here
ModemManager-1.24.2/src/mm-charsets.c:774:17: call_function: calling ‘mm_modem_charset_bytearray_from_utf8’ from ‘mm_modem_charset_str_from_utf8’
#  692|   
#  693|       encoded = (guint8 *) g_convert (utf8, -1,
#  694|->                                     settings->iconv_name, "UTF-8",
#  695|                                       NULL, &bytes_written, &inner_error);
#  696|       if (encoded) {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def114]
ModemManager-1.24.2/src/mm-charsets.c:819:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘settings’
ModemManager-1.24.2/src/mm-charsets.c:841:1: enter_function: entry to ‘mm_modem_charset_bytearray_to_utf8’
ModemManager-1.24.2/src/mm-charsets.c:849:8: branch_false: following ‘false’ branch (when ‘charset != 0’)...
ModemManager-1.24.2/src/mm-charsets.c:855:16: branch_false: ...to here
ModemManager-1.24.2/src/mm-charsets.c:855:16: call_function: calling ‘lookup_charset_settings’ from ‘mm_modem_charset_bytearray_to_utf8’
ModemManager-1.24.2/src/mm-charsets.c:855:16: return_function: returning to ‘mm_modem_charset_bytearray_to_utf8’ from ‘lookup_charset_settings’
ModemManager-1.24.2/src/mm-charsets.c:871:20: call_function: calling ‘charset_iconv_to_utf8’ from ‘mm_modem_charset_bytearray_to_utf8’
#  817|       utf8 = g_convert ((const gchar *) data, len,
#  818|                         "UTF-8",
#  819|->                       settings->iconv_name,
#  820|                         NULL, NULL, &inner_error);
#  821|       if (utf8)

Error: GCC_ANALYZER_WARNING (CWE-404): [#def115]
ModemManager-1.24.2/src/mm-error-helpers.c:750:13: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
ModemManager-1.24.2/src/mm-error-helpers.c:749:5: acquire_resource: ‘va_start’ called here
ModemManager-1.24.2/src/mm-error-helpers.c:750:13: throw: if ‘g_error_new_valist’ throws an exception...
ModemManager-1.24.2/src/mm-error-helpers.c:750:13: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  748|   
#  749|       va_start (var_args, format);
#  750|->     error = g_error_new_valist (domain, code, format, var_args);
#  751|       mm_dbus_method_invocation_return_gerror (invocation, error);
#  752|       va_end (var_args);

Error: GCC_ANALYZER_WARNING (CWE-404): [#def116]
ModemManager-1.24.2/src/mm-log-test.h:40:11: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
ModemManager-1.24.2/src/mm-log-test.h:36:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-log-test.h:39:5: branch_false: ...to here
ModemManager-1.24.2/src/mm-log-test.h:39:5: acquire_resource: ‘va_start’ called here
ModemManager-1.24.2/src/mm-log-test.h:40:11: throw: if ‘g_strdup_vprintf’ throws an exception...
ModemManager-1.24.2/src/mm-log-test.h:40:11: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#   38|   
#   39|       va_start (args, fmt);
#   40|->     msg = g_strdup_vprintf (fmt, args);
#   41|       va_end (args);
#   42|       g_print ("%s\n", msg);

Error: GCC_ANALYZER_WARNING (CWE-404): [#def117]
ModemManager-1.24.2/src/mm-log.c:283:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
ModemManager-1.24.2/src/mm-log.c:242:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-log.c:245:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-log.c:282:5: acquire_resource: ‘va_start’ called here
ModemManager-1.24.2/src/mm-log.c:283:5: throw: if ‘g_string_append_vprintf’ throws an exception...
ModemManager-1.24.2/src/mm-log.c:283:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  281|   
#  282|       va_start (args, fmt);
#  283|->     g_string_append_vprintf (msgbuf, fmt, args);
#  284|       va_end (args);
#  285|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
ModemManager-1.24.2/src/mm-modem-helpers.c:3005:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘interval_separator’
ModemManager-1.24.2/src/mm-modem-helpers.c:2945:1: enter_function: entry to ‘mm_3gpp_parse_cscb_response’
ModemManager-1.24.2/src/mm-modem-helpers.c:2957:8: branch_false: following ‘false’ branch (when ‘len != 0’)...
ModemManager-1.24.2/src/mm-modem-helpers.c:2965:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2972:5: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:2974:5: branch_true: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2975:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:2978:10: branch_false: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2978:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:2983:11: branch_false: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2984:8: branch_false: following ‘false’ branch (when the strings are equal)...
ModemManager-1.24.2/src/mm-modem-helpers.c:2990:11: branch_false: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2992:17: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:2995:9: branch_true: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:2997:12: branch_true: following ‘true’ branch (when ‘interval_separator’ is non-NULL)...
ModemManager-1.24.2/src/mm-modem-helpers.c:3003:21: call_function: inlined call to ‘g_strdup_inline’ from ‘mm_3gpp_parse_cscb_response’
ModemManager-1.24.2/src/mm-modem-helpers.c:3005:13: danger: dereference of NULL ‘interval_separator’
# 3003|               start = g_strdup (intervals[i]);
# 3004|               interval_separator = strstr (start, "-");
# 3005|->             *(interval_separator++) = '\0';
# 3006|               end = interval_separator;
# 3007|   

Error: COMPILER_WARNING (CWE-704): [#def119]
ModemManager-1.24.2/src/mm-modem-helpers.c: scope_hint: In function ‘mm_3gpp_parse_cscs_test_response’
ModemManager-1.24.2/src/mm-modem-helpers.c:3261:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3261 |     p = strchr (reply, '(');
#      |       ^
# 3259|        * but some devices (some Blackberries) don't include the ().
# 3260|        */
# 3261|->     p = strchr (reply, '(');
# 3262|       if (p)
# 3263|           p++;

Error: COMPILER_WARNING (CWE-704): [#def120]
ModemManager-1.24.2/src/mm-modem-helpers.c:3261:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3259|        * but some devices (some Blackberries) don't include the ().
# 3260|        */
# 3261|->     p = strchr (reply, '(');
# 3262|       if (p)
# 3263|           p++;

Error: COMPILER_WARNING (CWE-704): [#def121]
ModemManager-1.24.2/src/mm-modem-helpers.c:3265:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3265 |         p = strchr (reply, '"');
#      |           ^
# 3263|           p++;
# 3264|       else {
# 3265|->         p = strchr (reply, '"');
# 3266|           if (!p)
# 3267|               return FALSE;

Error: COMPILER_WARNING (CWE-704): [#def122]
ModemManager-1.24.2/src/mm-modem-helpers.c:3265:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3263|           p++;
# 3264|       else {
# 3265|->         p = strchr (reply, '"');
# 3266|           if (!p)
# 3267|               return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def123]
ModemManager-1.24.2/src/mm-modem-helpers.c:3828:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ModemManager-1.24.2/src/mm-modem-helpers.c:3801:1: enter_function: entry to ‘mm_3gpp_parse_cgev_indication_pdp’
ModemManager-1.24.2/src/mm-modem-helpers.c:3815:5: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:3820:9: branch_true: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:3825:5: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-modem-helpers.c:3827:11: branch_true: ...to here
ModemManager-1.24.2/src/mm-modem-helpers.c:3827:11: call_function: calling ‘mm_strip_tag’ from ‘mm_3gpp_parse_cgev_indication_pdp’
ModemManager-1.24.2/src/mm-modem-helpers.c:3827:11: return_function: returning to ‘mm_3gpp_parse_cgev_indication_pdp’ from ‘mm_strip_tag’
ModemManager-1.24.2/src/mm-modem-helpers.c:3828:33: danger: argument 1 (‘mm_strip_tag(str, "+CGEV:")’) NULL where non-null expected
# 3826|   
# 3827|       str = mm_strip_tag (str, "+CGEV:");
# 3828|->     g_regex_match_full (r, str, strlen (str), 0, 0, &match_info, &inner_error);
# 3829|       if (inner_error) {
# 3830|           g_propagate_error (error, inner_error);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def124]
ModemManager-1.24.2/src/mm-modem-helpers.c:3901:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ModemManager-1.24.2/src/mm-modem-helpers.c:3880:1: enter_function: entry to ‘mm_3gpp_parse_cgev_indication_primary’
ModemManager-1.24.2/src/mm-modem-helpers.c:3900:11: call_function: calling ‘mm_strip_tag’ from ‘mm_3gpp_parse_cgev_indication_primary’
ModemManager-1.24.2/src/mm-modem-helpers.c:3900:11: return_function: returning to ‘mm_3gpp_parse_cgev_indication_primary’ from ‘mm_strip_tag’
ModemManager-1.24.2/src/mm-modem-helpers.c:3901:33: danger: argument 1 (‘mm_strip_tag(str, "+CGEV:")’) NULL where non-null expected
# 3899|   
# 3900|       str = mm_strip_tag (str, "+CGEV:");
# 3901|->     g_regex_match_full (r, str, strlen (str), 0, 0, &match_info, &inner_error);
# 3902|       if (inner_error)
# 3903|           goto out;

Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
ModemManager-1.24.2/src/mm-modem-helpers.c:3958:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ModemManager-1.24.2/src/mm-modem-helpers.c:3933:1: enter_function: entry to ‘mm_3gpp_parse_cgev_indication_secondary’
ModemManager-1.24.2/src/mm-modem-helpers.c:3957:11: call_function: calling ‘mm_strip_tag’ from ‘mm_3gpp_parse_cgev_indication_secondary’
ModemManager-1.24.2/src/mm-modem-helpers.c:3957:11: return_function: returning to ‘mm_3gpp_parse_cgev_indication_secondary’ from ‘mm_strip_tag’
ModemManager-1.24.2/src/mm-modem-helpers.c:3958:33: danger: argument 1 (‘mm_strip_tag(str, "+CGEV:")’) NULL where non-null expected
# 3956|   
# 3957|       str = mm_strip_tag (str, "+CGEV:");
# 3958|->     g_regex_match_full (r, str, strlen (str), 0, 0, &match_info, &inner_error);
# 3959|       if (inner_error)
# 3960|           goto out;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def126]
ModemManager-1.24.2/src/mm-netlink.c:553:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket_fd’
ModemManager-1.24.2/src/mm-netlink.c:546:17: acquire_resource: socket created here
ModemManager-1.24.2/src/mm-netlink.c:547:8: branch_false: following ‘false’ branch (when ‘socket_fd >= 0’)...
ModemManager-1.24.2/src/mm-netlink.c:553:20: branch_false: ...to here
ModemManager-1.24.2/src/mm-netlink.c:553:20: throw: if ‘g_socket_new_from_fd’ throws an exception...
ModemManager-1.24.2/src/mm-netlink.c:553:20: danger: ‘socket_fd’ leaks here
#  551|       }
#  552|   
#  553|->     self->socket = g_socket_new_from_fd (socket_fd, error);
#  554|       if (!self->socket) {
#  555|           close (socket_fd);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def127]
ModemManager-1.24.2/src/mm-plugin.h:127:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘plugin’
ModemManager-1.24.2/src/mm-plugin-manager.c:1929:1: enter_function: entry to ‘load_external_plugins’
ModemManager-1.24.2/src/mm-plugin-manager.c:1941:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-plugin-manager.c:1950:50: branch_false: ...to here
ModemManager-1.24.2/src/mm-plugin-manager.c:1954:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-plugin-manager.c:1954:8: branch_false: ...to here
ModemManager-1.24.2/src/mm-plugin-manager.c:1960:12: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/mm-plugin-manager.c:1961:14: branch_true: ...to here
ModemManager-1.24.2/src/mm-plugin-manager.c:1970:28: branch_false: following ‘false’ branch (when ‘l’ is NULL)...
ModemManager-1.24.2/src/mm-plugin-manager.c:1974:18: branch_false: ...to here
ModemManager-1.24.2/src/mm-plugin-manager.c:1975:28: branch_true: following ‘true’ branch (when ‘l’ is non-NULL)...
ModemManager-1.24.2/src/mm-plugin-manager.c:1977:29: branch_true: ...to here
ModemManager-1.24.2/src/mm-plugin-manager.c:1979:18: call_function: calling ‘load_external_plugin’ from ‘load_external_plugins’
ModemManager-1.24.2/src/mm-plugin-manager.c:1977:29: call_function: inlined call to ‘glib_autoptr_cleanup_GError’ from ‘load_external_plugins’
ModemManager-1.24.2/src/mm-plugin-manager.c:1976:29: call_function: inlined call to ‘glib_autoptr_cleanup_MMPlugin’ from ‘load_external_plugins’
#  125|   
#  126|   GType mm_plugin_get_type (void);
#  127|-> G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPlugin, g_object_unref)
#  128|   
#  129|   const gchar           *mm_plugin_get_name                         (MMPlugin *self);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def128]
ModemManager-1.24.2/src/mm-shared-qmi.c:3058:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current_config’
ModemManager-1.24.2/src/mm-shared-qmi.c:3029:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3034:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3034:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3041:10: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3041:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3041:8: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3047:17: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3054:8: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3054:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/mm-shared-qmi.c:3058:9: branch_false: ...to here
ModemManager-1.24.2/src/mm-shared-qmi.c:3058:9: danger: dereference of NULL ‘current_config’
# 3056|   
# 3057|       /* Ignore if already set */
# 3058|->     if (current_config->description)
# 3059|           return;
# 3060|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def129]
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:594:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:580:1: enter_function: entry to ‘disconnect_connection_status_ready’
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:586:31: release_memory: ‘error’ is NULL
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:590:14: call_function: calling ‘load_connection_status_finish’ from ‘disconnect_connection_status_ready’
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:590:14: return_function: returning to ‘disconnect_connection_status_ready’ from ‘load_connection_status_finish’
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:594:9: release_memory: ‘error’ is NULL
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-bearer-cinterion.c:594:9: danger: dereference of NULL ‘error’
#  592|       case MM_BEARER_CONNECTION_STATUS_UNKNOWN:
#  593|           /* Assume disconnected */
#  594|->         mm_obj_dbg (self, "couldn't get CID %u status, assume disconnected: %s", ctx->cid, error->message);
#  595|           g_clear_error (&error);
#  596|           break;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def130]
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3114:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3106:27: release_memory: ‘error’ is NULL
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3113:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3114:9: branch_true: ...to here
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3114:9: release_memory: ‘error’ is NULL
ModemManager-1.24.2/src/plugins/cinterion/mm-broadband-modem-cinterion.c:3114:9: danger: dereference of NULL ‘error’
# 3112|       response = g_match_info_fetch (match_info, 1);
# 3113|       if (!response || !mm_cinterion_get_available_from_simlocal (response, &available, &error)) {
# 3114|->         mm_obj_warn (self, "Could not parse list of available SIMs: %s", error->message);
# 3115|           return;
# 3116|       }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def131]
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1475:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘current’
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1464:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1469:9: branch_false: ...to here
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1469:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1474:15: branch_false: ...to here
ModemManager-1.24.2/src/plugins/huawei/mm-broadband-modem-huawei.c:1475:24: danger: dereference of NULL ‘current’
# 1473|   
# 1474|           out = g_new (MMModemModeCombination, 1);
# 1475|->         out->allowed = current->allowed;
# 1476|           out->preferred = current->preferred;
# 1477|           g_task_return_pointer (task, out, g_free);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:175:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘interval_separator’
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:122:1: enter_function: entry to ‘load_supported_modes_finish’
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:134:8: branch_false: following ‘false’ branch...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:142:9: branch_false: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:144:5: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:146:5: branch_true: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:147:8: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:150:15: branch_true: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:151:12: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:152:21: branch_true: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:155:8: branch_false: following ‘false’ branch (when ‘split’ is non-NULL)...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:155:8: branch_false: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:163:17: branch_true: following ‘true’ branch...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:166:9: branch_true: ...to here
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:168:12: branch_true: following ‘true’ branch (when ‘interval_separator’ is non-NULL)...
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:173:21: call_function: inlined call to ‘g_strdup_inline’ from ‘load_supported_modes_finish’
ModemManager-1.24.2/src/plugins/icera/mm-broadband-modem-icera.c:175:13: danger: dereference of NULL ‘interval_separator’
#  173|               first = g_strdup (split[i]);
#  174|               interval_separator = strstr (first, "-");
#  175|->             *(interval_separator++) = '\0';
#  176|               last = interval_separator;
#  177|   

Error: COMPILER_WARNING (CWE-704): [#def133]
ModemManager-1.24.2/src/plugins/novatel/mm-broadband-modem-novatel.c: scope_hint: In function ‘get_one_quality’
ModemManager-1.24.2/src/plugins/novatel/mm-broadband-modem-novatel.c:729:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  729 |     p = strstr (reply, tag);
#      |       ^
#  727|       gboolean success = FALSE;
#  728|   
#  729|->     p = strstr (reply, tag);
#  730|       if (!p)
#  731|           return -1;

Error: COMPILER_WARNING (CWE-704): [#def134]
ModemManager-1.24.2/src/plugins/novatel/mm-broadband-modem-novatel.c:729:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  727|       gboolean success = FALSE;
#  728|   
#  729|->     p = strstr (reply, tag);
#  730|       if (!p)
#  731|           return -1;

Error: COMPILER_WARNING (CWE-704): [#def135]
ModemManager-1.24.2/src/plugins/sierra/mm-broadband-modem-sierra.c: scope_hint: In function ‘get_roam_value’
ModemManager-1.24.2/src/plugins/sierra/mm-broadband-modem-sierra.c:153:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  153 |     p = strstr (reply, tag);
#      |       ^
#  151|       guint32 ind = 0;
#  152|   
#  153|->     p = strstr (reply, tag);
#  154|       if (!p)
#  155|           return FALSE;

Error: COMPILER_WARNING (CWE-704): [#def136]
ModemManager-1.24.2/src/plugins/sierra/mm-broadband-modem-sierra.c:153:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  151|       guint32 ind = 0;
#  152|   
#  153|->     p = strstr (reply, tag);
#  154|       if (!p)
#  155|           return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-404): [#def137]
ModemManager-1.24.2/test/lsudev.c:70:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
ModemManager-1.24.2/test/lsudev.c:123:1: enter_function: entry to ‘handle_uevent’
ModemManager-1.24.2/test/lsudev.c:137:5: branch_true: following ‘true’ branch...
ModemManager-1.24.2/test/lsudev.c:139:5: branch_true: ...to here
ModemManager-1.24.2/test/lsudev.c:139:5: branch_true: following ‘true’ branch (when the strings are equal)...
ModemManager-1.24.2/test/lsudev.c:141:5: branch_true: ...to here
ModemManager-1.24.2/test/lsudev.c:142:5: call_function: calling ‘dump_device_and_parent’ from ‘handle_uevent’
#   68|   
#   69|       va_start (args, fmt);
#   70|->     g_string_append_vprintf (output, fmt, args);
#   71|       va_end (args);
#   72|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-22.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameModemManager-1.24.2-1.fc44
store-results-to/tmp/tmphznhudu0/ModemManager-1.24.2-1.fc44.tar.xz
time-created2026-01-08 15:26:16
time-finished2026-01-08 15:33:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmphznhudu0/ModemManager-1.24.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphznhudu0/ModemManager-1.24.2-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9