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/arm.c:203:33: warning[-Wanalyzer-malloc-leak]: leak of ‘http_request_new()’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:198:32: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:200:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:203:33: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:205:14: throw: if ‘http_request_set_method’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:203:33: danger: ‘http_request_new()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:346:17: warning[-Wanalyzer-malloc-leak]: leak of ‘message’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:323:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:327:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:332:12: branch_false: following ‘false’ branch (when ‘lbi’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:336:41: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:343:19: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:346:17: throw: if ‘WINPR_JSON_Delete’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:346:17: danger: ‘message’ leaks here; was allocated at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:449:14: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_Cipher_NewEx(cipherType, 0, *<unknown>.pointer, (long unsigned int)Stream_Get_UINT32(Stream_StaticConstInit(&staticStream, pbInput + algoLen, cbInput)), 0, 0)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:365:26: enter_function: entry to ‘treatAuthBlob’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:374:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:380:13: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:380:12: branch_false: following ‘false’ branch (when the strings are equal)...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:386:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:388:12: branch_false: following ‘false’ branch (when ‘cbInput >= algoLen’)...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:394:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:400:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:403:32: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:403:32: call_function: calling ‘Stream_Get_UINT32’ from ‘treatAuthBlob’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:403:32: return_function: returning to ‘treatAuthBlob’ from ‘Stream_Get_UINT32’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:404:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:410:34: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:410:34: call_function: calling ‘Stream_Get_UINT32’ from ‘treatAuthBlob’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:410:34: return_function: returning to ‘treatAuthBlob’ from ‘Stream_Get_UINT32’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:411:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:418:34: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:418:34: call_function: calling ‘Stream_Get_UINT32’ from ‘treatAuthBlob’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:418:34: return_function: returning to ‘treatAuthBlob’ from ‘Stream_Get_UINT32’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:419:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:426:9: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:442:15: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:443:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:449:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:449:14: throw: if ‘winpr_Cipher_SetPadding’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:449:14: danger: ‘winpr_Cipher_NewEx(cipherType, 0, *<unknown>.pointer, (long unsigned int)Stream_Get_UINT32(Stream_StaticConstInit(&staticStream, pbInput + algoLen, cbInput)), 0, 0)’ leaks here; was allocated at [(37)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:507:14: warning[-Wanalyzer-malloc-leak]: leak of ‘encryptedPass’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:494:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:500:37: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:501:31: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:503:12: branch_false: following ‘false’ branch (when ‘encryptedPass’ is non-NULL)...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:506:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:507:14: throw: if ‘winpr_Cipher_Update’ throws an exception...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:507:14: danger: ‘encryptedPass’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:634:33: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:736:13: enter_function: entry to ‘arm_treat_azureInstanceNetworkMetadata’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:743:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:747:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:753:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:754:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:766:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:775:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:777:38: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:782:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:783:34: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:783:34: call_function: calling ‘arm_parse_ipvx_count’ from ‘arm_treat_azureInstanceNetworkMetadata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:639:16: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:736:13: enter_function: entry to ‘arm_treat_azureInstanceNetworkMetadata’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:743:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:747:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:753:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:754:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:766:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:775:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:777:38: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:782:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:783:34: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:783:34: call_function: calling ‘arm_parse_ipvx_count’ from ‘arm_treat_azureInstanceNetworkMetadata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:651:33: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:736:13: enter_function: entry to ‘arm_treat_azureInstanceNetworkMetadata’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:743:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:747:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:753:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:754:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:766:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:790:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:793:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:794:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:796:38: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:803:30: call_function: calling ‘arm_parse_ipv6’ from ‘arm_treat_azureInstanceNetworkMetadata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:655:32: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:736:13: enter_function: entry to ‘arm_treat_azureInstanceNetworkMetadata’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:743:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:747:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:753:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:754:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:766:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:790:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:793:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:794:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:796:38: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:803:30: call_function: calling ‘arm_parse_ipv6’ from ‘arm_treat_azureInstanceNetworkMetadata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:685:33: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:736:13: enter_function: entry to ‘arm_treat_azureInstanceNetworkMetadata’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:743:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:746:28: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:747:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:753:29: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:754:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:14: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:760:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:766:30: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:767:12: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:790:12: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:793:16: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:794:28: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:796:38: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:801:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:807:36: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:810:30: call_function: calling ‘arm_parse_ipv4’ from ‘arm_treat_azureInstanceNetworkMetadata’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
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): [#def36]
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): [#def37]
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): [#def38]
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): [#def39]
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): [#def40]
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): [#def41]
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): [#def42]
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): [#def43]
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): [#def44]
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): [#def45]
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): [#def46]
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): [#def47]
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): [#def48]
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): [#def49]
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): [#def50]
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): [#def51]
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): [#def52]
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): [#def53]
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): [#def54]
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): [#def55]
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): [#def56]
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): [#def57]
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): [#def58]
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): [#def59]
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): [#def60]
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): [#def61]
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): [#def62]
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): [#def63]
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): [#def64]
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): [#def65]
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): [#def66]
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): [#def67]
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): [#def68]
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): [#def69]
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): [#def70]
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): [#def71]
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): [#def72]
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): [#def73]
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): [#def74]
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): [#def75]
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): [#def76]
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): [#def77]
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): [#def78]
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): [#def79]
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): [#def80]
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): [#def81]
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): [#def82]
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): [#def83]
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): [#def84]
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): [#def85]
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): [#def86]
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): [#def87]
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): [#def88]
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): [#def89]
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): [#def90]
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): [#def91]
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): [#def92]
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): [#def93]
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): [#def94]
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): [#def95]
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): [#def96]
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): [#def97]
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): [#def98]
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): [#def99]
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): [#def100]
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): [#def101]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:269:42: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:838:13: enter_function: entry to ‘arm_fill_rdstls’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:867:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:872:23: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:876:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:878:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: call_function: calling ‘WLog_Print_dbg_tag’ from ‘arm_fill_rdstls’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
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): [#def103]
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): [#def104]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:271:21: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:838:13: enter_function: entry to ‘arm_fill_rdstls’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:867:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:872:23: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:876:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:878:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: call_function: calling ‘WLog_Print_dbg_tag’ from ‘arm_fill_rdstls’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
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): [#def106]
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): [#def107]
FreeRDP-3.20.0/winpr/include/winpr/wlog.h:275:25: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:838:13: enter_function: entry to ‘arm_fill_rdstls’
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:867:12: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:872:23: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:876:20: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:877:34: acquire_memory: allocated here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:878:20: branch_false: following ‘false’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_false: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: following ‘true’ branch...
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: branch_true: ...to here
FreeRDP-3.20.0/libfreerdp/core/gateway/arm.c:882:21: call_function: calling ‘WLog_Print_dbg_tag’ from ‘arm_fill_rdstls’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
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): [#def109]
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): [#def110]
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: [#def111]
FreeRDP-3.20.0/winpr/libwinpr/path/path.c:1143:36: note[note]: length computed here
Error: COMPILER_WARNING: [#def112]
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): [#def113]
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): [#def114]
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-16.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/tmp51nvx5sh/freerdp-3.16.0-4.fc43.tar.xz |
| diffbase-time-created | 2026-01-08 16:09:42 |
| diffbase-time-finished | 2026-01-08 16:16:16 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp51nvx5sh/freerdp-3.16.0-4.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp51nvx5sh/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-16.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/tmpucll2y_4/freerdp-3.20.0-1.fc44.tar.xz |
| time-created | 2026-01-08 16:17:53 |
| time-finished | 2026-01-08 16:24:02 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpucll2y_4/freerdp-3.20.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpucll2y_4/freerdp-3.20.0-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |