Newly introduced findings
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:230:30: warning[-Wanalyzer-malloc-leak]: leak of ‘mappedGeometry’
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:318:13: enter_function: entry to ‘geometry_on_data_received’
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:321:16: call_function: calling ‘geometry_recv_pdu’ from ‘geometry_on_data_received’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:233:33: warning[-Wanalyzer-malloc-leak]: leak of ‘mappedGeometry’
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:318:13: enter_function: entry to ‘geometry_on_data_received’
FreeRDP-3.20.0/channels/geometry/client/geometry_main.c:321:16: call_function: calling ‘geometry_recv_pdu’ from ‘geometry_on_data_received’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def3]
FreeRDP-3.20.0/client/X11/xf_utils.c:52:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
FreeRDP-3.20.0/client/X11/xf_utils.c:756:5: enter_function: entry to ‘LogDynAndXRestackWindows_ex’
FreeRDP-3.20.0/client/X11/xf_utils.c:759:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/client/X11/xf_utils.c:761:17: branch_true: ...to here
FreeRDP-3.20.0/client/X11/xf_utils.c:761:17: call_function: calling ‘write_log’ from ‘LogDynAndXRestackWindows_ex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
FreeRDP-3.20.0/client/common/file.c:1732:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘CommandLineParseCommaSeparatedValues(values, & count) + x * 8’
FreeRDP-3.20.0/client/common/file.c:1753:6: enter_function: entry to ‘freerdp_client_populate_settings_from_rdp_file_unchecked’
FreeRDP-3.20.0/client/common/file.c:2486:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/client/common/file.c:2486:57: call_function: inlined call to ‘utils_str_is_empty’ from ‘freerdp_client_populate_settings_from_rdp_file_unchecked’
FreeRDP-3.20.0/client/common/file.c:2494:36: branch_false: ...to here
FreeRDP-3.20.0/client/common/file.c:2494:36: call_function: calling ‘rdp_file_to_args’ from ‘freerdp_client_populate_settings_from_rdp_file_unchecked’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
FreeRDP-3.20.0/client/common/file.c:2537:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘CommandLineParseCommaSeparatedValues(*file.SelectedMonitors, & count)’
FreeRDP-3.20.0/client/common/file.c:2516:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/client/common/file.c:2518:24: branch_true: ...to here
FreeRDP-3.20.0/client/common/file.c:2519:30: acquire_memory: this call could return NULL
FreeRDP-3.20.0/client/common/file.c:2522:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/client/common/file.c:2527:24: branch_false: ...to here
FreeRDP-3.20.0/client/common/file.c:2533:36: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/client/common/file.c:2536:25: branch_true: ...to here
FreeRDP-3.20.0/client/common/file.c:2537:31: danger: ‘CommandLineParseCommaSeparatedValues(*file.SelectedMonitors, & count) + x * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
FreeRDP-3.20.0/libfreerdp/common/settings.c:907:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/common/settings.c:1010:6: enter_function: entry to ‘freerdp_target_net_addresses_resize’
FreeRDP-3.20.0/libfreerdp/common/settings.c:1021:14: call_function: calling ‘resize_setting_ptr’ from ‘freerdp_target_net_addresses_resize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4357:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4357:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(jstr, length)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4324:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4357:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4361:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: danger: ‘WINPR_JSON_ParseWithLength(jstr, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_new(0)’
FreeRDP-3.20.0/libfreerdp/common/settings.c:4325:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4327:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4328:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4331:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4333:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4335:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4337:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4339:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4341:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4343:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4345:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4347:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4349:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4351:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4353:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4355:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4357:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4359:31: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4361:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: throw: if ‘freerdp_settings_get_type_name_for_type’ throws an exception...
FreeRDP-3.20.0/libfreerdp/common/settings.c:4363:32: danger: ‘freerdp_settings_new(0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
FreeRDP-3.20.0/libfreerdp/core/aad.c:869:29: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_ParseWithLength(data, length)’
FreeRDP-3.20.0/libfreerdp/core/aad.c:860:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/aad.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/aad.c:869:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/aad.c:869:29: throw: if ‘WINPR_JSON_GetObjectItemCaseSensitive’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/aad.c:869:29: danger: ‘WINPR_JSON_ParseWithLength(data, length)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:425:17: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:143:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:144:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:165:9: call_function: calling ‘http_context_free’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:716:9: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:697:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:698:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:702:9: call_function: calling ‘http_request_free’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1480:29: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: call_function: calling ‘HashTable_New_String’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1480:29: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: call_function: calling ‘HashTable_New_String’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1480:29: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: call_function: calling ‘HashTable_New_String’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: warning[-Wanalyzer-malloc-leak]: leak of ‘HashTable_New(0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1480:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1481:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: throw: if ‘HashTable_SetupForStringData’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: danger: ‘HashTable_New(0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: call_function: calling ‘HashTable_New_String’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: call_function: calling ‘HashTable_New_String’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1484:14: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: call_function: calling ‘HashTable_New_String’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1486:17: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: call_function: calling ‘HashTable_New_String’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1486:17: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: call_function: calling ‘HashTable_New_String’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1486:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: call_function: calling ‘HashTable_New_String’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1489:9: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: call_function: calling ‘HashTable_New_String’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1489:9: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: call_function: calling ‘HashTable_New_String’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1489:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: call_function: calling ‘HashTable_New_String’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1490:9: warning[-Wanalyzer-malloc-leak]: leak of ‘context’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:136:14: enter_function: entry to ‘http_context_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:138:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:139:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:142:28: call_function: calling ‘HashTable_New_String’ from ‘http_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1490:9: warning[-Wanalyzer-malloc-leak]: leak of ‘request’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:690:14: enter_function: entry to ‘http_request_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:692:46: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:693:12: branch_false: following ‘false’ branch (when ‘request’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:696:28: call_function: calling ‘HashTable_New_String’ from ‘http_request_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1490:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: call_function: calling ‘HashTable_New_String’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1532:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1503:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1504:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1521:9: call_function: calling ‘http_response_free’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1533:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1494:15: enter_function: entry to ‘http_response_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1496:49: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1498:12: branch_false: following ‘false’ branch (when ‘response’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1501:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1503:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1504:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1521:9: call_function: calling ‘http_response_free’ from ‘http_response_new’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def46]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1708:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1707:9: acquire_resource: ‘va_start’ called here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1708:9: throw: if ‘winpr_vasprintf’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1708:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def47]
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1720:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1690:20: enter_function: entry to ‘http_context_set_header’
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1695:9: acquire_resource: ‘va_start’ called here
FreeRDP-3.20.0/libfreerdp/core/gateway/http.c:1696:25: call_function: calling ‘http_context_set_header_va’ from ‘http_context_set_header’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:590:21: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 1)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:582:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:582:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:585:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:585:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:587:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:590:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:590:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:593:30: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:593:30: throw: if ‘rpc_ncacn_http_recv_out_channel_response’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:590:21: danger: ‘http_response_recv(*outChannel.common.tls, 1)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:18: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:646:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: throw: if ‘http_response_get_status_code’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: danger: ‘http_response_recv(*outChannel.common.tls, 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:18: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:646:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:650:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: danger: ‘http_response_recv(*outChannel.common.tls, 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:656:55: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:18: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:646:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:650:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:654:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:656:55: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:656:55: throw: if ‘transport_get_context’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:656:55: danger: ‘http_response_recv(*outChannel.common.tls, 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:660:25: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:18: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:646:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:650:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:652:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:660:25: danger: ‘http_response_recv(*outChannel.common.tls, 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:664:17: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*outChannel.common.tls, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:580:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:18: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:638:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:641:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:644:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:646:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:649:43: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:650:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:664:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:664:17: danger: ‘http_response_recv(*outChannel.common.tls, 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:767:25: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*nextOutChannel.common.tls, 1)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:763:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:763:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:765:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:767:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:767:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:769:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:770:37: throw: if ‘rpc_ncacn_http_recv_out_channel_response’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:767:25: danger: ‘http_response_recv(*nextOutChannel.common.tls, 1)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:868:21: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*inChannel.common.tls, 1)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:858:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:861:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:861:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:863:28: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:863:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:865:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:868:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:868:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:912:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:868:21: danger: ‘http_response_recv(*inChannel.common.tls, 1)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:922:17: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_recv(*inChannel.common.tls, 1)’
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:858:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:861:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:916:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:916:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:918:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:922:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/rpc_client.c:922:17: danger: ‘http_response_recv(*inChannel.common.tls, 1)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:794:25: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: danger: ‘wst’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:13: danger: ‘wst’ leaks here; was allocated at [(4)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:872:13: danger: ‘wst’ leaks here; was allocated at [(4)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:874:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:875:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:876:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:877:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: throw: if ‘http_context_set_user_agent’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:874:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:875:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:876:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:877:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: throw: if ‘http_context_set_user_agent’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: danger: ‘wst’ leaks here; was allocated at [(4)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:874:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:875:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:876:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:877:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: throw: if ‘http_context_set_x_ms_user_agent’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: warning[-Wanalyzer-malloc-leak]: leak of ‘wst’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:841:9: enter_function: entry to ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:843:12: branch_false: following ‘false’ branch (when ‘context’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:846:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:847:12: branch_false: following ‘false’ branch (when ‘wst’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:850:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: call_function: calling ‘wst_parse_url’ from ‘wst_new’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:14: return_function: returning to ‘wst_new’ from ‘wst_parse_url’
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:857:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:860:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:861:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:864:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:866:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:870:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:874:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:875:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:876:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:877:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:878:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:873:13: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: throw: if ‘http_context_set_x_ms_user_agent’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/wst.c:879:14: danger: ‘wst’ leaks here; was allocated at [(4)](sarif:/runs/0/results/64/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: warning[-Wanalyzer-malloc-leak]: leak of ‘MessageQueue_New(&cb)’
FreeRDP-3.20.0/libfreerdp/core/input.c:1130:12: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/input.c:1133:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/input.c:1134:24: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: danger: ‘MessageQueue_New(&cb)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
FreeRDP-3.20.0/libfreerdp/core/input.c:1126:58: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/input.c:1130:12: branch_false: following ‘false’ branch (when ‘input’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/input.c:1133:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/input.c:1135:22: danger: ‘input’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
FreeRDP-3.20.0/libfreerdp/core/peer.c:1453:23: warning[-Wanalyzer-malloc-leak]: leak of ‘client’
FreeRDP-3.20.0/libfreerdp/core/peer.c:1446:47: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/peer.c:1448:12: branch_false: following ‘false’ branch (when ‘client’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/peer.c:1451:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/peer.c:1451:12: branch_true: following ‘true’ branch (when ‘sockfd >= 0’)...
FreeRDP-3.20.0/libfreerdp/core/peer.c:1453:23: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/peer.c:1453:23: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/peer.c:1453:23: danger: ‘client’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:853:25: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 512)’
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:941:12: enter_function: entry to ‘rdstls_client_authenticate’
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:943:14: call_function: calling ‘rdstls_set_state’ from ‘rdstls_client_authenticate’
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:943:14: return_function: returning to ‘rdstls_client_authenticate’ from ‘rdstls_set_state’
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:943:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:946:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/rdstls.c:946:14: call_function: calling ‘rdstls_recv_capabilities’ from ‘rdstls_client_authenticate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
FreeRDP-3.20.0/libfreerdp/core/settings.c:774:22: warning[-Wanalyzer-malloc-leak]: leak of ‘settings’
FreeRDP-3.20.0/libfreerdp/core/settings.c:767:47: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/settings.c:769:12: branch_false: following ‘false’ branch (when ‘settings’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/settings.c:769:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/settings.c:772:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/settings.c:774:22: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/settings.c:774:22: throw: if ‘freerdp_settings_set_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/settings.c:774:22: danger: ‘settings’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1290:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sockfd’
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1121:12: branch_false: following ‘false’ branch (when ‘hostname’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1128:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1135:12: branch_false: following ‘false’ branch (when ‘ipcSocket == 0’)...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1145:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1145:17: branch_false: following ‘false’ branch (when ‘useExternalDefinedSocket == 0’)...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1147:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1147:17: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1151:26: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1151:26: acquire_resource: stream socket created here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1152:20: branch_false: following ‘false’ branch (when ‘sockfd >= 0’)...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1161:36: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1169:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1181:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1335:1: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1271:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1288:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1288:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1290:23: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1290:23: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/tcp.c:1290:23: danger: ‘sockfd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
FreeRDP-3.20.0/libfreerdp/crypto/per.c:400:36: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_BinToHexString(got, length, 1)’
FreeRDP-3.20.0/libfreerdp/crypto/per.c:399:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/per.c:400:36: throw: if ‘winpr_BinToHexString’ throws an exception...
FreeRDP-3.20.0/libfreerdp/crypto/per.c:400:36: danger: ‘winpr_BinToHexString(got, length, 1)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1512:27: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_GetJSONConfigFile(1, &configfile)’
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1585:12: enter_function: entry to ‘tls_config_check_certificate’
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1592:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1594:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1600:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1600:13: call_function: calling ‘tls_config_parse_bool’ from ‘tls_config_check_certificate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1528:26: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_GetJSONConfigFile(1, &configfile)’
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1585:12: enter_function: entry to ‘tls_config_check_certificate’
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1592:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1594:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1600:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1600:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1607:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1607:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1614:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1614:13: call_function: calling ‘tls_config_check_allowed_hashed’ from ‘tls_config_check_certificate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1575:33: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_fingerprint_by_hash_ex(cert, WINPR_JSON_GetStringValue(WINPR_JSON_GetObjectItemCaseSensitive(WINPR_JSON_GetArrayItem(WINPR_JSON_GetObjectItemCaseSensitive(json, "certificate-db"), x), "type")), 0)’
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1529:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1532:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1534:35: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1535:21: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1543:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1565:30: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1575:33: throw: if ‘_stricmp’ throws an exception...
FreeRDP-3.20.0/libfreerdp/crypto/tls.c:1575:33: danger: ‘freerdp_certificate_get_fingerprint_by_hash_ex(cert, WINPR_JSON_GetStringValue(WINPR_JSON_GetObjectItemCaseSensitive(WINPR_JSON_GetArrayItem(WINPR_JSON_GetObjectItemCaseSensitive(json, "certificate-db"), x), "type")), 0)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:159:33: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:210:22: enter_function: entry to ‘scard_context_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:227:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:233:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:238:9: call_function: calling ‘scard_status_transition’ from ‘scard_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:186:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:182:12: branch_true: following ‘true’ branch (when ‘dstSize == 4294967295’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:184:29: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:184:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:186:17: throw: if ‘ArrayList_Append’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:186:17: danger: ‘tmp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:203:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:210:22: enter_function: entry to ‘scard_context_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:218:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:241:9: call_function: calling ‘scard_context_free’ from ‘scard_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:204:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:210:22: enter_function: entry to ‘scard_context_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:218:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:241:9: call_function: calling ‘scard_context_free’ from ‘scard_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:205:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:210:22: enter_function: entry to ‘scard_context_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:218:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:241:9: call_function: calling ‘scard_context_free’ from ‘scard_context_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: throw: if ‘ArrayList_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: throw: if ‘ArrayList_Object’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: throw: if ‘ArrayList_Object’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:226:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:226:22: throw: if ‘HashTable_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:226:22: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: warning[-Wanalyzer-malloc-leak]: leak of ‘HashTable_New(0)’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:226:22: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:227:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: throw: if ‘HashTable_SetupForStringData’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: danger: ‘HashTable_New(0)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:227:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: throw: if ‘HashTable_SetupForStringData’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:233:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:212:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:213:12: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:216:24: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:217:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:221:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:227:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:229:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:233:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:233:32: throw: if ‘HashTable_ValueObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:233:32: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:251:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:256:21: enter_function: entry to ‘scard_handle_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_true: following ‘true’ branch (when ‘unicode != 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:272:28: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:275:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:276:25: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:313:9: call_function: calling ‘scard_handle_free’ from ‘scard_handle_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:272:28: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_true: following ‘true’ branch (when ‘unicode != 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:272:28: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:272:28: throw: if ‘_wcslen’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:272:28: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:283:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: throw: if ‘vgids_new’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: throw: if ‘vgids_new’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:283:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:283:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:300:21: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:283:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: throw: if ‘freerdp_settings_get_string’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:302:35: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:283:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: throw: if ‘vgids_init’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: warning[-Wanalyzer-malloc-leak]: leak of ‘hdl’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:263:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:264:12: branch_false: following ‘false’ branch (when ‘hdl’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:270:12: branch_false: following ‘false’ branch (when ‘unicode == 0’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:281:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:284:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:286:17: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:289:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:292:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:293:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:298:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: throw: if ‘vgids_init’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:304:22: danger: ‘hdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2337:22: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2324:12: branch_false: following ‘false’ branch (when ‘DataLen <= 4096’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2327:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2327:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2330:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2331:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2333:24: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2333:24: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2334:20: branch_false: following ‘false’ branch (when ‘item’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2337:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2337:22: throw: if ‘HashTable_Insert’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2337:22: danger: ‘item’ leaks here; was allocated at [(7)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2353:1: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2324:12: branch_false: following ‘false’ branch (when ‘DataLen <= 4096’)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2327:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2327:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2330:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2331:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2333:24: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2333:24: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2334:20: branch_false: following ‘false’ branch (when ‘item’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2337:22: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2338:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2345:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2345:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2345:12: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2353:1: danger: ‘item’ leaks here; was allocated at [(7)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2702:26: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2702:26: throw: if ‘WLog_Get’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2702:26: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2707:31: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2707:31: throw: if ‘HashTable_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2707:31: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2707:31: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: throw: if ‘HashTable_KeyObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: throw: if ‘HashTable_KeyObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: throw: if ‘HashTable_ValueObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2725:30: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2725:30: throw: if ‘HashTable_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2725:30: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2725:30: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2726:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: throw: if ‘HashTable_KeyObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: danger: ‘<unknown>’ leaks here; was allocated at [(9)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2726:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: throw: if ‘HashTable_KeyObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2738:32: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2705:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2708:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2712:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2720:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2726:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2730:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2734:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2738:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2738:32: throw: if ‘HashTable_ValueObject’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2738:32: danger: ‘smartcard’ leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2758:9: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2691:28: enter_function: entry to ‘Emulate_New’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2704:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2748:9: call_function: calling ‘Emulate_Free’ from ‘Emulate_New’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2759:9: warning[-Wanalyzer-malloc-leak]: leak of ‘smartcard’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2691:28: enter_function: entry to ‘Emulate_New’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2697:21: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2698:12: branch_false: following ‘false’ branch (when ‘smartcard’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2701:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2703:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2704:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_emulate.c:2748:9: call_function: calling ‘Emulate_Free’ from ‘Emulate_New’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:276:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:284:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:419:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:816:49: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_param(*context.certificate, 1, & nSize)’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:815:19: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:816:19: throw: if ‘freerdp_certificate_get_param’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:816:49: danger: ‘freerdp_certificate_get_param(*context.certificate, 1, & nSize)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:818:13: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_param(*context.certificate, 0, & eSize)’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:816:19: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:818:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:821:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:821:18: throw: if ‘Stream_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:818:13: danger: ‘freerdp_certificate_get_param(*context.certificate, 0, & eSize)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:836:14: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, *<unknown>.capacity + 16)’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:803:13: enter_function: entry to ‘vgids_get_public_key’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:818:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:821:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:822:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:828:37: call_function: inlined call to ‘Stream_Capacity’ from ‘vgids_get_public_key’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:828:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:829:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:836:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:836:14: call_function: calling ‘vgids_write_tlv’ from ‘vgids_get_public_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:855:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pubKey’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:860:13: enter_function: entry to ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:14: call_function: calling ‘vgids_parse_apdu_header’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:14: return_function: returning to ‘vgids_ins_getdata’ from ‘vgids_parse_apdu_header’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:880:9: call_function: inlined call to ‘vgids_reset_context_response’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:921:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:928:25: call_function: inlined call to ‘stream_read_u8’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:931:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:940:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:940:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:946:25: call_function: inlined call to ‘stream_read_u16_be’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:948:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:954:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:954:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:961:25: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:961:25: call_function: calling ‘vgids_get_public_key’ from ‘vgids_ins_getdata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:856:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:860:13: enter_function: entry to ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:14: call_function: calling ‘vgids_parse_apdu_header’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:14: return_function: returning to ‘vgids_ins_getdata’ from ‘vgids_parse_apdu_header’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:876:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:880:9: call_function: inlined call to ‘vgids_reset_context_response’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:921:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:928:25: call_function: inlined call to ‘stream_read_u8’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:931:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:940:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:940:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:946:25: call_function: inlined call to ‘stream_read_u16_be’ from ‘vgids_ins_getdata’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:948:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:954:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:954:28: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:961:25: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:961:25: call_function: calling ‘vgids_get_public_key’ from ‘vgids_ins_getdata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1443:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1443:22: throw: if ‘ArrayList_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1443:22: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1443:22: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: throw: if ‘ArrayList_Object’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: danger: ‘<unknown>’ leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: throw: if ‘ArrayList_Object’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1450:15: danger: ‘ctx’ leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1630:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1456:9: call_function: inlined call to ‘vgids_free’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1631:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1456:9: call_function: inlined call to ‘vgids_free’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1632:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1456:9: call_function: inlined call to ‘vgids_free’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1633:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1456:9: call_function: inlined call to ‘vgids_free’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1635:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1456:9: call_function: inlined call to ‘vgids_free’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:298:33: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:298:33: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:302:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:302:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:310:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:310:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def138]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: warning[-Wanalyzer-null-argument]: use of NULL ‘arg’ where non-null expected
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_true: following ‘true’ branch (when ‘partial_match != 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: danger: argument 2 (‘arg’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def139]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: warning[-Wanalyzer-null-argument]: use of NULL ‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’ where non-null expected
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_true: following ‘true’ branch (when ‘partial_match != 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: danger: argument 1 (‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def140]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_true: following ‘true’ branch (when ‘partial_match != 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def141]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*arg’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_true: following ‘true’ branch (when ‘partial_match != 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:31: danger: use of uninitialized value ‘*arg’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: warning[-Wanalyzer-null-argument]: use of NULL ‘arg’ where non-null expected
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_false: following ‘false’ branch (when ‘partial_match == 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: danger: argument 2 (‘arg’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def143]
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: warning[-Wanalyzer-null-argument]: use of NULL ‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’ where non-null expected
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:92:5: enter_function: entry to ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:129:6: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:130:22: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:133:6: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:137:6: branch_false: following ‘false’ branch (when ‘run_all != 1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:165:6: branch_true: following ‘true’ branch (when ‘testToRun == -1’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:24: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:166:11: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:168:15: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:33: branch_true: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: call_function: calling ‘lowercase’ from ‘main’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:169:23: return_function: returning to ‘main’ from ‘lowercase’
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:170:8: branch_false: following ‘false’ branch (when ‘partial_match == 0’)...
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: branch_false: ...to here
FreeRDP-3.20.0/redhat-linux-build/winpr/libwinpr/credentials/test/TestCredentials.c:174:38: danger: argument 1 (‘lowercase(cmakeGeneratedFunctionMapEntries[i].name)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-404): [#def144]
FreeRDP-3.20.0/server/proxy/channels/pf_channel_drdynvc.c:140:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
FreeRDP-3.20.0/server/proxy/channels/pf_channel_drdynvc.c:687:24: enter_function: entry to ‘DynvcTrackerPeekFn’
FreeRDP-3.20.0/server/proxy/channels/pf_channel_drdynvc.c:716:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/server/proxy/channels/pf_channel_drdynvc.c:719:28: call_function: inlined call to ‘Stream_Get_UINT8’ from ‘DynvcTrackerPeekFn’
FreeRDP-3.20.0/server/proxy/channels/pf_channel_drdynvc.c:754:33: call_function: calling ‘dyn_log_’ from ‘DynvcTrackerPeekFn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
FreeRDP-3.20.0/winpr/include/winpr/stream.h:1298:24: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, nSize + eSize + 16)’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:803:13: enter_function: entry to ‘vgids_get_public_key’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:818:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:821:35: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:821:18: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:822:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:828:37: call_function: inlined call to ‘Stream_Capacity’ from ‘vgids_get_public_key’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:828:20: throw: if ‘Stream_New’ throws an exception...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:828:37: call_function: inlined call to ‘Stream_Capacity’ from ‘vgids_get_public_key’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:268:21: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_BinToHexString(expect, length, 1)’
FreeRDP-3.20.0/libfreerdp/crypto/per.c:391:13: enter_function: entry to ‘per_check_oid_and_log_mismatch’
FreeRDP-3.20.0/libfreerdp/crypto/per.c:400:36: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/per.c:402:17: call_function: calling ‘WLog_Print_dbg_tag’ from ‘per_check_oid_and_log_mismatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:268:21: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_BinToHexString(got, length, 1)’
FreeRDP-3.20.0/libfreerdp/crypto/per.c:391:13: enter_function: entry to ‘per_check_oid_and_log_mismatch’
FreeRDP-3.20.0/libfreerdp/crypto/per.c:399:33: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/crypto/per.c:402:17: call_function: calling ‘WLog_Print_dbg_tag’ from ‘per_check_oid_and_log_mismatch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:269:42: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: call_function: calling ‘WLog_Print_dbg_tag’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:269:42: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:269:42: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:269:42: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:271:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: call_function: calling ‘WLog_Print_dbg_tag’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:271:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:271:21: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:271:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:275:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1438:15: enter_function: entry to ‘vgids_new’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1441:29: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1444:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1446:17: call_function: calling ‘WLog_Print_dbg_tag’ from ‘vgids_new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:275:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ef’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1460:6: enter_function: entry to ‘vgids_init’
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1490:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1499:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1502:27: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1503:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:1508:20: call_function: calling ‘vgids_ef_new’ from ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:275:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:188:20: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:275:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:135:20: enter_function: entry to ‘freerdp_passphrase_read_tty’
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:143:12: branch_false: following ‘false’ branch (when ‘bufsiz != 0’)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:149:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:189:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:192:15: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/utils/passphrase.c:198:29: call_function: calling ‘freerdp_interruptible_get_line’ from ‘freerdp_passphrase_read_tty’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def160]
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:210:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:203:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:206:14: branch_false: ...to here
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:206:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:208:17: branch_false: ...to here
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:209:9: acquire_resource: ‘va_start’ called here
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:210:9: throw: if ‘WLog_PrintTextMessageVA’ throws an exception...
FreeRDP-3.20.0/winpr/libwinpr/comm/comm.c:210:9: danger: missing call to ‘va_end’ to match ‘va_start’ at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING: [#def161]
FreeRDP-3.20.0/winpr/libwinpr/path/path.c:1143:36: note[note]: length computed here
Error: COMPILER_WARNING: [#def162]
FreeRDP-3.20.0/winpr/libwinpr/path/path.c:1148:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound depends on the length of the source argument
Error: COMPILER_WARNING (CWE-704): [#def163]
FreeRDP-3.20.0/winpr/libwinpr/utils/json/json-c.c: scope_hint: In function ‘WINPR_JSON_GetObjectItem’
FreeRDP-3.20.0/winpr/libwinpr/utils/json/json-c.c:79:65: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘json_object_iter_begin’ discards ‘const’ qualifier from pointer target type
/usr/include/json-c/json.h:28: included_from: Included from here.
FreeRDP-3.20.0/winpr/libwinpr/utils/json/json-c.c:30: included_from: Included from here.
/usr/include/json-c/json_object_iterator.h:107:84: note: expected ‘struct json_object *’ but argument is of type ‘const json_object *’
Error: COMPILER_WARNING (CWE-704): [#def164]
FreeRDP-3.20.0/winpr/libwinpr/utils/json/json-c.c:79:65: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘json_object_iter_begin’ discards ‘const’ qualifier from pointer target type
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-27.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | freerdp-3.16.0-4.fc43 |
| diffbase-store-results-to | /tmp/tmpkrkmzsse/freerdp-3.16.0-4.fc43.tar.xz |
| diffbase-time-created | 2026-01-08 14:10:14 |
| diffbase-time-finished | 2026-01-08 14:16:52 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpkrkmzsse/freerdp-3.16.0-4.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpkrkmzsse/freerdp-3.16.0-4.fc43.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-27.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | freerdp-3.20.0-1.fc44 |
| store-results-to | /tmp/tmpqbok8k1m/freerdp-3.20.0-1.fc44.tar.xz |
| time-created | 2026-01-08 14:18:27 |
| time-finished | 2026-01-08 14:24:40 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmpqbok8k1m/freerdp-3.20.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpqbok8k1m/freerdp-3.20.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |