freerdp-3.9.0-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-416): [#def1]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c: scope_hint: In function ‘ainput_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:352:20: warning[-Wanalyzer-use-after-free]: use after ‘ainput_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:350:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c: scope_hint: In function ‘ainput_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:417:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ainput’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:435:1: warning[-Wanalyzer-malloc-leak]: leak of ‘ainput’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/ainput/server/ainput_main.c:350:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:550:22: warning[-Wanalyzer-malloc-leak]: leak of ‘audin_server_packet_new(*(audin_server *)context.log, 26, 2)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:614:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:615:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:615:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:547:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:568:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:573:24: note: in expansion of macro ‘ERROR_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c: scope_hint: In function ‘audin_server_packet_send’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:550:22: warning[-Wanalyzer-malloc-leak]: leak of ‘audin_server_packet_new(*(audin_server *)context.log, 4, 1)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:598:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:599:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:599:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:547:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:568:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/synch.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:573:24: note: in expansion of macro ‘ERROR_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:550:22: warning[-Wanalyzer-malloc-leak]: leak of ‘audin_server_packet_new(*(audin_server *)context.log, 4, 7)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:693:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:694:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:694:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:547:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:568:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:573:24: note: in expansion of macro ‘ERROR_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c: scope_hint: In function ‘audin_server_send_open’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:550:22: warning[-Wanalyzer-malloc-leak]: leak of ‘audin_server_packet_new(*(audin_server *)context.log, 48, 3)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:642:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:643:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:643:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:547:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c: scope_hint: In function ‘audin_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/server/audin.c:851:16: warning[-Wanalyzer-malloc-leak]: leak of ‘audin’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/client/addin.c: scope_hint: In function ‘freerdp_channels_list_dynamic_addins’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/client/addin.c:248:12: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileUTF8(pszSearchPath, & FindData)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/client/addin.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/client/addin.c:223:9: note: in expansion of macro ‘CopyMemory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c: scope_hint: In function ‘cliprdr_filter_format_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:59:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:45:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:77:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:45:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:94:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cur’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/client/cliprdr_format.c:45:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c: scope_hint: In function ‘cliprdr_server_start’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1389:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(0, 1, 0, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1375:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1378:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1389:36: note: in expansion of macro ‘CreateEvent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1395:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &cliprdr_server_thread, context, 0, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1375:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/cliprdr/server/cliprdr_main.c:1378:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:625:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:612:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def16]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c: scope_hint: In function ‘disp_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:625:9: warning[-Wanalyzer-mismatching-deallocation]: ‘context’ should have been deallocated with ‘free’ but was deallocated with ‘disp_server_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/channels/disp.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/disp.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:604:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def17]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c: scope_hint: In function ‘disp_server_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:635:20: warning[-Wanalyzer-use-after-free]: use after ‘disp_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/disp/server/disp_main.c:604:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c: scope_hint: In function ‘dvcman_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:341:16: warning[-Wanalyzer-malloc-leak]: leak of ‘dvcman’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:307:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:311:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:574:1: warning[-Wanalyzer-malloc-leak]: leak of ‘dvcman’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/client/drdynvc_main.c:564:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/server/drdynvc_main.c: scope_hint: In function ‘drdynvc_server_start’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drdynvc/server/drdynvc_main.c:125:21: warning[-Wanalyzer-malloc-leak]: leak of ‘**context.priv.ChannelHandle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c: scope_hint: In function ‘drive_file_set_fullpath’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:129:28: warning[-Wanalyzer-malloc-leak]: leak of ‘drive_file_combine_fullpath(*file.basepath, Stream_ConstPointer(input), (long unsigned int)(stream_read_u32_le(input, 1) >> 1))’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:41: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:776:25: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:776:25: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:776:25: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘drive_file_set_fullpath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c: scope_hint: In function ‘drive_file_set_fullpath’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:778:25: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:778:25: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1001:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:37: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:139:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:67:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:36: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:177:24: note: in expansion of macro ‘TRUE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c: scope_hint: In function ‘drive_file_query_information’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_file.c:585:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileW(*file.fullpath, 0, 4, 0, 3, 128, 0)’
Error: COMPILER_WARNING (CWE-563): [#def23]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c: scope_hint: In function ‘drive_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:161:16: warning[-Wunused-but-set-variable]: variable ‘allocationSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def24]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c: scope_hint: In function ‘drive_process_irp_silent_ignore’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:589:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c: scope_hint: In function ‘drive_DeviceServiceEntry’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:1054:20: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(1)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:1031:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/drive/client/drive_main.c:1034:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/encomsp/server/encomsp_main.c: scope_hint: In function ‘encomsp_server_start’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/encomsp/server/encomsp_main.c:303:21: warning[-Wanalyzer-malloc-leak]: leak of ‘**context.priv.ChannelHandle’
Error: CPPCHECK_WARNING (CWE-664): [#def27]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/client/location_main.c:346: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-416): [#def28]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c: scope_hint: In function ‘location_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:476:22: warning[-Wanalyzer-use-after-free]: use after ‘location_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:474:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c: scope_hint: In function ‘location_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:617:16: warning[-Wanalyzer-malloc-leak]: leak of ‘location’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:637:1: warning[-Wanalyzer-malloc-leak]: leak of ‘location’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:474:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c: scope_hint: In function ‘printer_cups_new_printer’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:272:1: warning[-Wanalyzer-malloc-leak]: leak of ‘cups_printer’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:256:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:266:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:331:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cups_printer’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/cups/printer_cups.c:330:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c: scope_hint: In function ‘printer_write_setting’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:120:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileA(GetCombinedPath(path, name), 1073741824, 0, 0, 2, 128, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/channels/rdpdr.h:36: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:39: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:32:9: note: in definition of macro ‘FREERDP_ENTRY_POINT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:1128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:1138:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c: scope_hint: In function ‘printer_read_setting’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:175:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileA(GetCombinedPath(path, name), 2147483648, 0, 0, 3, 128, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:959:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:960:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:960:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:975:15: note: in expansion of macro ‘sprintf_s’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c: scope_hint: In function ‘printer_DeviceServiceEntry’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/printer/client/printer_main.c:1104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(*(RDPDR_PRINTER *)pEntryPoints_58(D)->device.DriverName)’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:32:9: note: in definition of macro ‘FREERDP_ENTRY_POINT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rail/server/rail_main.c: scope_hint: In function ‘rail_server_start’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rail/server/rail_main.c:1446:21: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(0, 1, 0, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rail/server/rail_main.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rail/server/rail_main.c:1442:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rail/server/rail_main.c:1444:36: note: in expansion of macro ‘CreateEvent’
Error: COMPILER_WARNING (CWE-563): [#def37]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/client/rdpdr_main.c: scope_hint: In function ‘dummy_irp_response’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/client/rdpdr_main.c:1493:16: warning[-Wunused-but-set-variable]: variable ‘FileId’ set but not used
Error: CPPCHECK_WARNING (CWE-664): [#def38]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/client/rdpdr_main.c:1649: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_close_file’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:236:39: warning[-Wanalyzer-malloc-leak]: leak of ‘irp’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_close_file’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3191:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3192:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3193:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3193:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3193:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:189:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:190:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2302:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2303:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2305:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:934:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:935:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:214:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:214:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:218:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def40]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:433:16: warning[-Wunused-but-set-variable]: variable ‘ioCode1’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def41]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:434:16: warning[-Wunused-but-set-variable]: variable ‘extraFlags1’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def42]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_read_general_capability_set’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:438:16: warning[-Wunused-but-set-variable]: variable ‘SpecialTypeDeviceCap’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def43]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1169:16: warning[-Wunused-but-set-variable]: variable ‘DesiredAccess’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def44]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1170:16: warning[-Wunused-but-set-variable]: variable ‘AllocationSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def45]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1171:16: warning[-Wunused-but-set-variable]: variable ‘FileAttributes’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def46]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1172:16: warning[-Wunused-but-set-variable]: variable ‘SharedAccess’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def47]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1173:16: warning[-Wunused-but-set-variable]: variable ‘CreateDisposition’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def48]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_create_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1174:16: warning[-Wunused-but-set-variable]: variable ‘CreateOptions’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def49]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1223:16: warning[-Wunused-but-set-variable]: variable ‘Length’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def50]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_read_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1224:16: warning[-Wunused-but-set-variable]: variable ‘Offset’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def51]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_write_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1247:16: warning[-Wunused-but-set-variable]: variable ‘Offset’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def52]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1275:16: warning[-Wunused-but-set-variable]: variable ‘OutputBufferLength’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def53]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_device_control_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1277:16: warning[-Wunused-but-set-variable]: variable ‘IoControlCode’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def54]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_query_volume_information_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1307:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def55]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: At top level
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1331:13: warning[-Wunused-function]: ‘rdpdr_server_receive_io_set_volume_information_request’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def56]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_set_volume_information_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1336:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def57]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_query_information_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1366:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def58]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_set_information_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1396:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def59]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1426:14: warning[-Wunused-but-set-variable]: variable ‘InitialQuery’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def60]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_query_directory_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1427:16: warning[-Wunused-but-set-variable]: variable ‘FsInformationClass’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def61]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1458:14: warning[-Wunused-but-set-variable]: variable ‘WatchTree’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def62]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_change_directory_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1459:16: warning[-Wunused-but-set-variable]: variable ‘CompletionFilter’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def63]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1508:16: warning[-Wunused-but-set-variable]: variable ‘Operation’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def64]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1527:24: warning[-Wunused-but-set-variable]: variable ‘Length’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def65]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_receive_io_lock_control_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:1528:24: warning[-Wunused-but-set-variable]: variable ‘Offset’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def66]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_create_directory_callback1’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2542:15: warning[-Wunused-but-set-variable]: variable ‘information’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def67]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_delete_directory_callback1’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2663:15: warning[-Wunused-but-set-variable]: variable ‘information’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def68]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_open_file_callback’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2925:15: warning[-Wunused-but-set-variable]: variable ‘information’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def69]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_delete_file_callback1’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3258:15: warning[-Wunused-but-set-variable]: variable ‘information’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def70]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_rename_file_callback2’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3374:16: warning[-Wunused-but-set-variable]: variable ‘length’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def71]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c: scope_hint: In function ‘rdpdr_server_drive_rename_file_callback1’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3417:15: warning[-Wunused-but-set-variable]: variable ‘information’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-416): [#def72]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c: scope_hint: In function ‘enumerator_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:469:24: warning[-Wanalyzer-use-after-free]: use after ‘cam_dev_enum_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:467:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c: scope_hint: In function ‘cam_dev_enum_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:591:16: warning[-Wanalyzer-malloc-leak]: leak of ‘enumerator’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:611:1: warning[-Wanalyzer-malloc-leak]: leak of ‘enumerator’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_enumerator_main.c:467:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def75]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c: scope_hint: In function ‘device_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:621:20: warning[-Wanalyzer-use-after-free]: use after ‘camera_device_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:619:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c: scope_hint: In function ‘camera_device_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:944:16: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:966:1: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpecam/server/camera_device_main.c:619:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-664): [#def78]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1122: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def79]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1126: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def80]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1139: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def81]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1143: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def82]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1156: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def83]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1160: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def84]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1177: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def85]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpei/client/rdpei_main.c:1180: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c: scope_hint: In function ‘read_cap_set’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:166:12: warning[-Wanalyzer-malloc-leak]: leak of ‘capsSetV1’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:460:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:293:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:231:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:232:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:235:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1033:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:266:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:266:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:266:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:267:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:267:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:268:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:268:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:184:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:185:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:185:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:186:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:186:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:202:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:128:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:128:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:128:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:129:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:129:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:130:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:130:9: note: in expansion of macro ‘Stream_Read_UINT32’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def87]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c: scope_hint: In function ‘mouse_cursor_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:426:26: warning[-Wanalyzer-use-after-free]: use after ‘mouse_cursor_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:424:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:491:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mouse_cursor_server_packet_new(12, 2, &*capsConfirm.header)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:545:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:546:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:546:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:549:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:511:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:512:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:512:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:516:24: note: in expansion of macro ‘ERROR_OUTOFMEMORY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c: scope_hint: In function ‘mouse_cursor_server_send_sc_mouseptr_update’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:491:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mouse_cursor_server_packet_new(update_size, 3, &*mouseptrUpdate.header)’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:602:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:603:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:603:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c: scope_hint: In function ‘mouse_cursor_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:710:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mouse_cursor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:730:1: warning[-Wanalyzer-malloc-leak]: leak of ‘mouse_cursor’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpemsc/server/mouse_cursor_main.c:424:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-562): [#def92]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_codec.c:149: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def93]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_codec.c:237: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-1164): [#def94]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_main.c:636:13: warning[-Wunused-function]: ‘rdpgfx_load_cache_import_offer’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-416): [#def95]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_main.c: scope_hint: In function ‘rdpgfx_client_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_main.c:2408:13: warning[-Wanalyzer-use-after-free]: use after ‘rdpgfx_client_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_main.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/client/rdpgfx_main.c:2216:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def96]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c: scope_hint: In function ‘rdpsnd_recv_wave2_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:699:16: warning[-Wunused-but-set-variable]: variable ‘dwAudioTimeStamp’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1838:66: warning[-Wanalyzer-malloc-leak]: leak of ‘allocatePlugin()’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:32:9: note: in definition of macro ‘FREERDP_ENTRY_POINT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1806:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1807:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1835:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1847:37: warning[-Wanalyzer-malloc-leak]: leak of ‘allocatePlugin()’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:32:9: note: in definition of macro ‘FREERDP_ENTRY_POINT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1806:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1807:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1835:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1844:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def99]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:181:16: warning[-Wunused-but-set-variable]: variable ‘udpPort’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def100]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c: scope_hint: In function ‘rdpsnd_server_recv_formats’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:182:14: warning[-Wunused-but-set-variable]: variable ‘lastblock’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def101]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c: scope_hint: In function ‘rdpsnd_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:1078:9: warning[-Wanalyzer-mismatching-deallocation]: ‘context’ should have been deallocated with ‘free’ but was deallocated with ‘rdpsnd_server_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:1051:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def102]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c: scope_hint: In function ‘rdpsnd_server_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:1098:20: warning[-Wanalyzer-use-after-free]: use after ‘rdpsnd_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/server/rdpsnd_main.c:1051:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/remdesk/server/remdesk_main.c: scope_hint: In function ‘remdesk_server_thread’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/remdesk/server/remdesk_main.c:548:43: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 4096)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/remdesk/server/remdesk_main.c: scope_hint: In function ‘remdesk_server_start’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/remdesk/server/remdesk_main.c:656:21: warning[-Wanalyzer-malloc-leak]: leak of ‘**context.priv.ChannelHandle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:172:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*serial.hComm’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:512:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:513:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:514:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:461:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:462:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:462:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:464:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:124:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:125:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:125:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:116:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSizeWLog’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:127:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthWLog’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:130:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:130:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:130:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:133:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:133:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:134:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:134:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c: scope_hint: In function ‘serial_process_irp_create’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:136:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:136:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:141:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:141:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:158:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/comm.h:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/serial/client/serial_main.c:168:13: note: in expansion of macro ‘CreateFile’
Error: COMPILER_WARNING (CWE-563): [#def106]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c: scope_hint: In function ‘telemetry_process_message’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:150:14: warning[-Wunused-but-set-variable]: variable ‘Length’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-416): [#def107]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c: scope_hint: In function ‘telemetry_server_close’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:345:23: warning[-Wanalyzer-use-after-free]: use after ‘telemetry_server_context_free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:343:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c: scope_hint: In function ‘telemetry_server_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:422:16: warning[-Wanalyzer-malloc-leak]: leak of ‘telemetry’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:442:1: warning[-Wanalyzer-malloc-leak]: leak of ‘telemetry’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/telemetry/server/telemetry_main.c:343:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def110]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urbdrc_process_register_request_callback’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:122:16: warning[-Wunused-but-set-variable]: variable ‘NumRequestCompletion’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def111]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:317:16: warning[-Wunused-but-set-variable]: variable ‘IoControlCode’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def112]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urbdrc_process_internal_io_control’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:320:16: warning[-Wunused-but-set-variable]: variable ‘OutputBufferSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def113]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:538:16: warning[-Wunused-but-set-variable]: variable ‘ConfigurationHandle’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def114]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urb_select_interface’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:539:16: warning[-Wunused-but-set-variable]: variable ‘OutputBufferSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def115]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urb_pipe_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:1208:16: warning[-Wunused-but-set-variable]: variable ‘OutputBufferSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def116]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urb_get_current_frame_number’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:1289:16: warning[-Wunused-but-set-variable]: variable ‘OutputBufferSize’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def117]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:1567:16: warning[-Wunused-but-set-variable]: variable ‘CbTsUrb’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def118]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c: scope_hint: In function ‘urbdrc_process_transfer_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/data_transfer.c:1568:16: warning[-Wunused-but-set-variable]: variable ‘Size’ set but not used
Error: CPPCHECK_WARNING (CWE-664): [#def119]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:142: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘libusb_udev_isoch_transfer’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:218:51: warning[-Wanalyzer-malloc-leak]: leak of ‘async_transfer_user_data_new(idev, MessageId, 48, (long unsigned int)BufferSize, Buffer, outSize + 1024, NoAck, cb, callback)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def121]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘func_iso_callback’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:284:49: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:995:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘func_iso_callback’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘func_iso_callback’
<built-in>: note: argument 2 of ‘__builtin_memmove’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘libusb_udev_complete_msconfig_setup’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:628:61: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_MsPipe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:635:63: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_MsPipe’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def124]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:644:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘t_MsPipes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘udev_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1524:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pdev’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1685:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1529:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1533:9: note: in expansion of macro ‘BASIC_STATE_FUNC_REGISTER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c: scope_hint: In function ‘udev_new_by_id’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1818:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevice.c:1802:9: note: in expansion of macro ‘WLog_Print’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevman.c:695:34: warning[-Wanalyzer-malloc-leak]: leak of ‘idpair’
Error: COMPILER_WARNING (CWE-563): [#def128]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/urbdrc_main.c: scope_hint: In function ‘urbdrc_exchange_capabilities’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/urbdrc_main.c:386:16: warning[-Wunused-but-set-variable]: variable ‘InterfaceId’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c: scope_hint: In function ‘msusb_mspipes_read’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:99:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c: scope_hint: In function ‘msusb_mspipes_read’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:155:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:155:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:155:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:156:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:156:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:157:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:157:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:158:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:158:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:160:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:160:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c: scope_hint: In function ‘msusb_mspipes_read’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:79:17: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:79:17: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:79:17: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:81:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:81:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:82:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:82:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c: scope_hint: In function ‘msusb_mspipes_read’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c: scope_hint: In function ‘msusb_msconfig_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/common/msusb.c:294:16: warning[-Wanalyzer-malloc-leak]: leak of ‘msusb_msconfig_new()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c: scope_hint: In function ‘video_VideoData’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:932:1: warning[-Wanalyzer-malloc-leak]: leak of ‘frame’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:812:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:813:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:813:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:816:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:294:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:295:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:295:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:296:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:296:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1024:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c: scope_hint: In function ‘video_VideoData’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:203:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/video/client/video_main.c:927:25: note: in expansion of macro ‘WLog_DBG’
Error: CPPCHECK_WARNING (CWE-664): [#def132]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_connection_dialog.cpp:61: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def133]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_connection_dialog.cpp:71: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def134]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_connection_dialog.cpp:80: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def135]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_connection_dialog.cpp:89: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-480): [#def136]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:141: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def137]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:144: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def138]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:147: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def139]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:166: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def140]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:211: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def141]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:221: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def142]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:227: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def143]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:270: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def144]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_input_widgets.cpp:276: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def145]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_selectlist.cpp:58: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def146]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_selectlist.cpp:61: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def147]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_selectlist.cpp:64: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def148]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_selectlist.cpp:110: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: CPPCHECK_WARNING (CWE-480): [#def149]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/dialogs/sdl_selectlist.cpp:146: error[rethrowNoCurrentException]: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
Error: COMPILER_WARNING (CWE-1164): [#def150]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/sdl_kbd.cpp:417:20: warning[-Wunused-function]: ‘const char* sdl_scancode_name(Uint32)’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def151]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/sdl_kbd.cpp:439:20: warning[-Wunused-function]: ‘const char* sdl_rdp_scancode_name(UINT32)’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def152]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/sdl_kbd.cpp:450:15: warning[-Wunused-function]: ‘UINT32 sdl_rdp_scancode_val(const char*)’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def153]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/sdl_monitor.cpp:81:13: warning[-Wunused-function]: ‘BOOL sdl_is_monitor_id_active(SdlContext*, UINT32)’ defined but not used
Error: CPPCHECK_WARNING (CWE-664): [#def154]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/SDL/SDL2/sdl_utils.cpp:155: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-1164): [#def155]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/Wayland/wlf_disp.c:289:6: warning[-Wunused-function]: ‘wlf_disp_sendLayout’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c: scope_hint: In function ‘xf_setup_x11’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1895:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateMutexA(0, 0, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1133:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1140:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1861:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1893:22: note: in expansion of macro ‘CreateMutex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1927:25: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(nitems, 8)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1133:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1140:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1861:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:33: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1926:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_client.c:1926:25: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def158]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:205:13: warning[-Wunused-function]: ‘requested_format_matches’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c: scope_hint: In function ‘xf_cliprdr_server_format_data_response’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:257:31: warning[-Wanalyzer-malloc-leak]: leak of ‘xf_cached_data_new_copy(data, (long unsigned int)size)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:35: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2152:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2153:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2153:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2156:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2159:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def160]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c: scope_hint: In function ‘xf_clipboard_free_server_formats’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:266:22: warning[-Wanalyzer-use-after-free]: use after ‘xf_clipboard_free’ of ‘clipboard’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2381:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2382:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:265:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:1349:35: warning[-Wanalyzer-malloc-leak]: leak of ‘xf_cached_data_new(pDstData, DstSize)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c: scope_hint: In function ‘xf_cliprdr_server_format_data_response’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2152:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2153:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2153:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2156:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_cliprdr.c:2159:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c: scope_hint: In function ‘xf_floatbar_new_button’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:274:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘button’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:268:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:269:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:270:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:271:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def163]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c: scope_hint: In function ‘xf_floatbar_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:359:9: warning[-Wanalyzer-mismatching-deallocation]: ‘floatbar’ should have been deallocated with ‘free’ but was deallocated with ‘xf_floatbar_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def164]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c: scope_hint: In function ‘xf_floatbar_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:897:22: warning[-Wanalyzer-use-after-free]: use after ‘xf_floatbar_free’ of ‘floatbar’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_floatbar.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-664): [#def165]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_utils.c:37: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-758): [#def166]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:152: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-686): [#def167]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:255:44: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘Atom’ {aka ‘long unsigned int’} for variadic argument 2 of ‘argp’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1199:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1200:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1200:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def168]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c: scope_hint: In function ‘xf_SendClientEvent’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:255:44: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘long unsigned int’ for variadic argument 2 of ‘argp’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:37: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1199:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1200:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1200:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c: scope_hint: In function ‘xf_SetWindowRects’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1276:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xrects’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c: scope_hint: In function ‘xf_SetWindowVisibilityRects’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/X11/xf_window.c:1301:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xrects’
Error: CPPCHECK_WARNING (CWE-664): [#def171]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client.c:1130: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def172]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:628: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-1164): [#def173]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:1657:13: warning[-Wunused-function]: ‘cliprdr_file_server_content_changed_and_update’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-416): [#def174]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘cliprdr_file_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2071:17: warning[-Wanalyzer-use-after-free]: use after ‘cliprdr_file_context_free’ of ‘file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘cliprdr_file_context_update_client_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2162:38: warning[-Wanalyzer-malloc-leak]: leak of ‘cliprdr_local_stream_new(file, lockId, data, size)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:43: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2502:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:1668:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2484:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2486:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2317:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2272:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2160:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘is_directory’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2200:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileW(ConvertUtf8ToWCharAlloc(path, 0), 0, 4, 0, 3, 128, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2160:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2142:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2143:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2143:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2144:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘add_directory’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2226:12: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileW(ConvertUtf8ToWCharAlloc(GetCombinedPath(path, "*"), 0), &FindFileData)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2160:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2142:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2143:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2143:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2144:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2465:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2414:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2420:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def179]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘cliprdr_file_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2465:9: warning[-Wanalyzer-mismatching-deallocation]: ‘file’ should have been deallocated with ‘free’ but was deallocated with ‘cliprdr_file_context_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c: scope_hint: In function ‘cliprdr_file_context_update_client_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2520:60: warning[-Wanalyzer-malloc-leak]: leak of ‘cliprdr_local_stream_new(file, lockId, data, size)’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2502:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:1668:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2484:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2486:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2317:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/client_cliprdr_file.c:2272:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c: scope_hint: In function ‘argv_append’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5533:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2008:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2009:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2009:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2008:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2009:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:2009:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5558:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5559:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5559:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5560:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5560:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5522:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5522:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5522:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/cmdline.c:5523:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-664): [#def182]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:1428: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c: scope_hint: In function ‘freerdp_client_rdp_file_new_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2646:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_client_rdp_file_new_ex(0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2662:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_client_rdp_file_new_ex(0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/client.h:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2651:9: note: in expansion of macro ‘FillMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c: scope_hint: In function ‘freerdp_client_rdp_file_new_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2669:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2651:9: note: in expansion of macro ‘FillMemory’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def186]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2669:9: warning[-Wanalyzer-mismatching-deallocation]: ‘file’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_client_rdp_file_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2651:9: note: in expansion of macro ‘FillMemory’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def187]
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c: scope_hint: In function ‘freerdp_client_rdp_file_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2677:25: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_client_rdp_file_free’ of ‘file’
freerdp-3.9.0-build/FreeRDP-3.9.0/client/common/file.c:2651:9: note: in expansion of macro ‘FillMemory’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def188]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘bitmap_cache_save_persistent’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:287:21: warning[-Wanalyzer-use-after-free]: use after ‘bitmap_cache_free’ of ‘bitmapCache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:357:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:360:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:394:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:357:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:360:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def190]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘bitmap_cache_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:394:9: warning[-Wanalyzer-mismatching-deallocation]: ‘bitmapCache’ should have been deallocated with ‘free’ but was deallocated with ‘bitmap_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:357:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:360:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def191]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘free_bitmap_update’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:477:54: warning[-Wanalyzer-use-after-free]: use after ‘free_bitmap_update’ of ‘pointer’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def192]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘copy_bitmap_update’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:498:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_bitmap_update’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def193]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘copy_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:526:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_bitmap_order’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def194]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘free_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:534:27: warning[-Wanalyzer-use-after-free]: use after ‘free_cache_bitmap_order’ of ‘order’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def195]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘copy_cache_bitmap_v2_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:563:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_bitmap_v2_order’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def196]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘free_cache_bitmap_v2_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:571:27: warning[-Wanalyzer-use-after-free]: use after ‘free_cache_bitmap_v2_order’ of ‘order’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def197]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c: scope_hint: In function ‘copy_cache_bitmap_v3_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/bitmap.c:600:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_bitmap_v3_order’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:275:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:251:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def199]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c: scope_hint: In function ‘brush_cache_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:275:9: warning[-Wanalyzer-mismatching-deallocation]: ‘brushCache’ should have been deallocated with ‘free’ but was deallocated with ‘brush_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:251:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def200]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c: scope_hint: In function ‘brush_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:284:31: warning[-Wanalyzer-use-after-free]: use after ‘brush_cache_free’ of ‘brushCache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/brush.c:251:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:78:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:32:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def202]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c: scope_hint: In function ‘cache_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:78:9: warning[-Wanalyzer-mismatching-deallocation]: ‘cache’ should have been deallocated with ‘free’ but was deallocated with ‘cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:32:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def203]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c: scope_hint: In function ‘cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:87:17: warning[-Wanalyzer-use-after-free]: use after ‘cache_free’ of ‘cache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:32:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def204]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c: scope_hint: In function ‘copy_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:111:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_color_table_order’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def205]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c: scope_hint: In function ‘copy_surface_bits_command’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/cache.c:142:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_surface_bits_command’
Error: COMPILER_WARNING (CWE-1164): [#def206]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:83:7: warning[-Wunused-function]: ‘nine_grid_cache_get’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def207]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:104:6: warning[-Wunused-function]: ‘nine_grid_cache_put’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def208]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c: scope_hint: In function ‘nine_grid_cache_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:150:9: warning[-Wanalyzer-mismatching-deallocation]: ‘nine_grid’ should have been deallocated with ‘free’ but was deallocated with ‘nine_grid_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/update.h:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:121:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:124:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def209]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c: scope_hint: In function ‘nine_grid_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:159:30: warning[-Wanalyzer-use-after-free]: use after ‘nine_grid_cache_free’ of ‘nine_grid’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:121:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/nine_grid.c:124:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def210]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c: scope_hint: In function ‘offscreen_cache_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:221:9: warning[-Wanalyzer-mismatching-deallocation]: ‘offscreenCache’ should have been deallocated with ‘free’ but was deallocated with ‘offscreen_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:193:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:196:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def211]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c: scope_hint: In function ‘offscreen_cache_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:230:35: warning[-Wanalyzer-use-after-free]: use after ‘offscreen_cache_free’ of ‘offscreenCache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:193:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/offscreen.c:196:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def212]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/palette.c:52:7: warning[-Wunused-function]: ‘palette_cache_get’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def213]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/palette.c: scope_hint: In function ‘copy_palette_update’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/cache/palette.c:139:9: warning[-Wanalyzer-mismatching-deallocation]: ‘dst’ should have been deallocated with ‘free’ but was deallocated with ‘free_palette_update’
Error: COMPILER_WARNING (CWE-1164): [#def214]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/audio.c:257:13: warning[-Wunused-function]: ‘audio_format_valid’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/audio.c: scope_hint: In function ‘audio_formats_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/audio.c:278:16: warning[-Wanalyzer-malloc-leak]: leak of ‘audio_formats_new(1)’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def216]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c: scope_hint: In function ‘bulk_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c:369:9: warning[-Wanalyzer-mismatching-deallocation]: ‘bulk’ should have been deallocated with ‘free’ but was deallocated with ‘bulk_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c:337:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def217]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c: scope_hint: In function ‘bulk_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c:379:9: warning[-Wanalyzer-use-after-free]: use after ‘bulk_free’ of ‘bulk’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/bulk.c:337:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def218]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/clear.c: scope_hint: In function ‘clear_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/clear.c:1202:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_aligned_calloc(1, 850496, 32)’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘clear_context_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def219]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/clear.c: scope_hint: In function ‘clear_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/clear.c:1212:9: warning[-Wanalyzer-use-after-free]: use after ‘clear_context_free’ of ‘clear’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/color.c: scope_hint: In function ‘FreeRDPSplitColor’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/color.c:1442:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘palette’
Error: CPPCHECK_WARNING (CWE-664): [#def221]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/dsp_fdk_aac.c:35: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-1164): [#def222]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/dsp_fdk_impl.c:165:13: warning[-Wunused-function]: ‘log_dec_info’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c: scope_hint: In function ‘avc444_ensure_buffer’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c:463:90: warning[-Wanalyzer-malloc-leak]: leak of ‘*((BYTE * (*)[3])<unknown>)[0]’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/bitstream.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c:433:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def224]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c: scope_hint: In function ‘h264_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c:724:9: warning[-Wanalyzer-mismatching-deallocation]: ‘h264’ should have been deallocated with ‘free’ but was deallocated with ‘h264_context_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def225]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c: scope_hint: In function ‘h264_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/h264.c:733:25: warning[-Wanalyzer-use-after-free]: use after ‘h264_context_free’ of ‘h264’
Error: COMPILER_WARNING (CWE-1164): [#def226]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/interleaved.c:149:20: warning[-Wunused-function]: ‘rle_code_str_buffer’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def227]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/interleaved.c: scope_hint: In function ‘bitmap_interleaved_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/interleaved.c:743:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_aligned_recalloc(0, 1, 24, 32)’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘bitmap_interleaved_context_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def228]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/interleaved.c: scope_hint: In function ‘bitmap_interleaved_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/interleaved.c:753:39: warning[-Wanalyzer-use-after-free]: use after ‘bitmap_interleaved_context_free’ of ‘interleaved’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def229]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc.c: scope_hint: In function ‘nsc_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc.c:370:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_aligned_calloc(1, 120, 32)’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘nsc_context_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def230]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc.c: scope_hint: In function ‘nsc_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc.c:380:20: warning[-Wanalyzer-use-after-free]: use after ‘nsc_context_free’ of ‘context’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc_encode.c: scope_hint: In function ‘nsc_context_initialize_encode’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc_encode.c:72:41: warning[-Wanalyzer-malloc-leak]: leak of ‘**context_47(D).priv.PlaneBuffers[i]’
Error: COMPILER_WARNING (CWE-1164): [#def232]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/nsc_encode.c:419:15: warning[-Wunused-function]: ‘nsc_compute_byte_count’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def233]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/planar.c: scope_hint: In function ‘freerdp_bitmap_planar_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/planar.c:1770:17: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_aligned_calloc(1, 176, 32)’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘freerdp_bitmap_planar_context_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def234]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/planar.c: scope_hint: In function ‘freerdp_bitmap_planar_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/planar.c:1783:35: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_bitmap_planar_context_free’ of ‘context’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c: scope_hint: In function ‘progressive_context_new_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2614:12: warning[-Wanalyzer-malloc-leak]: leak of ‘progressive_context_new_ex(Compressor, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2641:35: warning[-Wanalyzer-malloc-leak]: leak of ‘progressive_context_new_ex(Compressor, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2640:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def237]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2647:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_aligned_calloc(1, 3680648, 32)’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘progressive_context_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c: scope_hint: In function ‘progressive_context_new_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2657:9: warning[-Wanalyzer-malloc-leak]: leak of ‘progressive_context_new_ex(Compressor, 0)’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def239]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c: scope_hint: In function ‘progressive_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2657:9: warning[-Wanalyzer-use-after-free]: use after ‘progressive_context_free’ of ‘progressive’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def240]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c: scope_hint: In function ‘region16_copy_band_with_union’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:260:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:260:16: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def241]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:291:43: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:291:43: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def242]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:291:65: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:291:65: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def243]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:296:40: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:296:40: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def244]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:306:40: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:306:40: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def245]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:306:62: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:306:62: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def246]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:309:43: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:309:43: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def247]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:309:65: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:309:65: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def248]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:329:35: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:329:35: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def249]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:333:33: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:333:33: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def250]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:334:32: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:334:32: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def251]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c: scope_hint: In function ‘rectangle_contained_in_band’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:390:16: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:390:16: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def252]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:392:60: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:504:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:505:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:88:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:89:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:392:60: note: read of 2 bytes from after the end of ‘empty_region’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def253]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:398:40: warning[-Wanalyzer-out-of-bounds]: buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:730:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:731:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:181:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:182:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING: [#def254]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c: scope_hint: In function ‘region16_intersect_rect’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:801:17: warning[-Wuse-after-free]: pointer ‘newItems_66’ may be used after ‘realloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/region.c:797:21: note: call to ‘realloc’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c: scope_hint: In function ‘rfx_allocate_tiles’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:817:13: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_recalloc(*message.tiles, count, 8, 32)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:2184:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1660:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1589:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1701:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1702:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1606:22: note: in definition of macro ‘TILE_NO’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1635:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:35: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:32:22: note: in definition of macro ‘MAX’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:814:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c: scope_hint: In function ‘rfx_message_free.part.0’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1448:18: warning[-Wanalyzer-malloc-leak]: leak of ‘*message.tiles’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:814:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c: scope_hint: In function ‘rfx_encode_message’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1676:36: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_calloc(1, 64, 32)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:2184:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1660:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c: scope_hint: In function ‘rfx_encode_message’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1811:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘workParam’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:2184:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1660:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1661:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1663:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1664:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1665:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1589:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1701:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1702:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1606:22: note: in definition of macro ‘TILE_NO’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1635:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1610:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1613:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/rfx.c:1635:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def259]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘update_password’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:131:18: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_assistance_file_free’ of ‘file’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:130:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘append_address_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:263:12: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:141:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:130:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:739:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:607:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:608:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:608:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:609:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:609:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:610:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:610:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘append_address_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:203:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:716:9: note: in expansion of macro ‘WLog_DBG’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def261]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘freerdp_assistance_parse_attr_uint32’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:507:9: warning[-Wanalyzer-null-argument]: use of NULL ‘copt’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:141:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:130:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:739:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:607:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:608:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:608:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:609:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:609:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:610:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:610:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘freerdp_assistance_parse_attr_uint32’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:630:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:631:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:632:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:525:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:526:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:527:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:531:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:418:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:419:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:420:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:429:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
<built-in>: note: argument 2 of ‘__builtin_strncpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c: scope_hint: In function ‘freerdp_assistance_file_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:1412:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def263]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/assistance.c:1412:9: warning[-Wanalyzer-mismatching-deallocation]: ‘file’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_assistance_file_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_device_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:22: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_device_new(*device.Type, count, & args)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:416:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def266]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:416:9: warning[-Wanalyzer-mismatching-deallocation]: ‘<unknown>’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_device_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def267]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_device_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:437:23: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_device_free’ of ‘device’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def268]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:437:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*device.Type’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_device_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:492:19: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_device_clone(data)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:317:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def270]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_addin_argv_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:772:17: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_addin_argv_free’ of ‘args’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def271]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:772:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*args.argv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_addin_argv_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:784:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_addin_argv_new((long unsigned int)*args.argc, *args.argv)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:790:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_addin_argv_new((long unsigned int)*args.argc, *args.argv)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:793:22: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_addin_argv_new((long unsigned int)*args.argc, *args.argv)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:812:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def276]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:812:9: warning[-Wanalyzer-mismatching-deallocation]: ‘args’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_addin_argv_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_settings_set_pointer_array’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:826:21: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_addin_argv_clone(data)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_server_license_issuers_copy’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:945:40: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(*<unknown>)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:938:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:939:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:924:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_settings_set_pointer_len_’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:1314:12: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:1316:16: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c: scope_hint: In function ‘freerdp_settings_set_pointer_array’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings.c:1708:40: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(data)’
Error: COMPILER_WARNING (CWE-563): [#def282]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings_getters.c: scope_hint: In function ‘freerdp_settings_set_int16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings_getters.c:1597:11: warning[-Wunused-but-set-variable]: variable ‘cnv’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def283]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings_getters.c: scope_hint: In function ‘freerdp_settings_set_int64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/common/settings_getters.c:2656:11: warning[-Wunused-but-set-variable]: variable ‘cnv’ set but not used
Error: CPPCHECK_WARNING (CWE-664): [#def284]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:60: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-762): [#def285]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c: scope_hint: In function ‘aad_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:762:9: warning[-Wanalyzer-mismatching-deallocation]: ‘aad’ should have been deallocated with ‘free’ but was deallocated with ‘aad_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/crypto/crypto.h:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:743:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:744:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:744:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def286]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c: scope_hint: In function ‘aad_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:772:17: warning[-Wanalyzer-use-after-free]: use after ‘aad_free’ of ‘aad’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:743:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:744:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/aad.c:744:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def287]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/autodetect.c:432:13: warning[-Wunused-function]: ‘autodetect_send_netchar_sync’ defined but not used
Error: CPPCHECK_WARNING (CWE-758): [#def288]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/capabilities.c:1972: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-1164): [#def289]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/capabilities.c: scope_hint: At top level
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/capabilities.c:2393:13: warning[-Wunused-function]: ‘rdp_write_draw_gdiplus_cache_capability_set’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def290]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/capabilities.c: scope_hint: In function ‘rdp_recv_demand_active’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/capabilities.c:4529:16: warning[-Wunused-but-set-variable]: variable ‘SessionId’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-126): [#def291]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c: scope_hint: In function ‘transport_bio_named_read’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.h:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:20: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:136:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:25: note: read of 8 bytes from after the end of ‘chunks’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:25: note: valid subscripts for ‘chunks’ are ‘[0]’ to ‘[1]’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def292]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:46: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:136:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:46: note: read of 8 bytes from after the end of ‘chunks’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:228:46: note: valid subscripts for ‘chunks’ are ‘[0]’ to ‘[1]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c: scope_hint: In function ‘createChildSessionTransport’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:512:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileW(&pipePath, 3221225472, 0, 0, 3, 1073741824, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/childsession.c:445:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def294]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c: scope_hint: In function ‘codecs_free_int’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c:36:27: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_client_codecs_free’ of ‘codecs’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c:32:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c: scope_hint: In function ‘freerdp_client_codecs_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c:260:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_client_codecs_new(freerdp_settings_get_uint32(*context.settings, 64))’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/codecs.c:263:32: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_client_codecs_new(freerdp_settings_get_uint32(*context.settings, 64))’
Error: CPPCHECK_WARNING (CWE-664): [#def297]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/freerdp.c:1307: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c: scope_hint: In function ‘arm_treat_azureInstanceNetworkMetadata’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:732:12: warning[-Wanalyzer-malloc-leak]: leak of ‘WINPR_JSON_Parse(metadata)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:203:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:898:9: note: in expansion of macro ‘WLog_DBG’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:841:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:842:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:843:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:843:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/arm.c:683:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-664): [#def299]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:348: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def300]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:350: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-664): [#def301]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:359: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def302]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:361: error[va_end_missing]: va_list 'ap' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-664): [#def303]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:554: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1510:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1262:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1263:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1263:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:995:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c: scope_hint: In function ‘http_response_recv’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1282:29: note: in expansion of macro ‘sleep_or_timeout’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1282:29: note: in expansion of macro ‘sleep_or_timeout’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1230:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1282:29: note: in expansion of macro ‘sleep_or_timeout’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def305]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c: scope_hint: In function ‘http_response_recv’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1510:9: warning[-Wanalyzer-mismatching-deallocation]: ‘http_response_new()’ should have been deallocated with ‘free’ but was deallocated with ‘http_response_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1262:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1263:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1263:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:995:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c: scope_hint: In function ‘http_response_recv’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c: scope_hint: In function ‘http_response_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1538:12: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_new()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1562:36: warning[-Wanalyzer-malloc-leak]: leak of ‘http_response_new()’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1524:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def308]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1567:9: warning[-Wanalyzer-mismatching-deallocation]: ‘response’ should have been deallocated with ‘free’ but was deallocated with ‘http_response_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def309]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c: scope_hint: In function ‘http_response_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/http.c:1577:22: warning[-Wanalyzer-use-after-free]: use after ‘http_response_free’ of ‘response’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def310]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rdg.c: scope_hint: In function ‘rdg_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rdg.c:2282:9: warning[-Wanalyzer-mismatching-deallocation]: ‘rdg’ should have been deallocated with ‘free’ but was deallocated with ‘rdg_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def311]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rdg.c: scope_hint: In function ‘rdg_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rdg.c:2292:9: warning[-Wanalyzer-use-after-free]: use after ‘rdg_free’ of ‘rdg’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_out_channel_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:509:13: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_out_channel_new(rpc, &*connection.Cookie)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:680:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:621:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:622:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:622:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def313]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_channel_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:603:9: warning[-Wanalyzer-use-after-free]: use after ‘rpc_channel_free’ of ‘channel’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_out_channel_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:647:16: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_out_channel_new(rpc, &*connection.Cookie)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:680:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_virtual_connection_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:675:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:680:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:571:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:961:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:918:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def317]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:961:9: warning[-Wanalyzer-mismatching-deallocation]: ‘rpc’ should have been deallocated with ‘free’ but was deallocated with ‘rpc_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:918:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def318]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c: scope_hint: In function ‘rpc_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:970:17: warning[-Wanalyzer-use-after-free]: use after ‘rpc_free’ of ‘rpc’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc.c:918:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c: scope_hint: In function ‘rpc_send_bind_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:274:34: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_client_call_new(bind_pdu.header.call_id, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:188:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:192:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:236:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:249:9: note: in expansion of macro ‘CopyMemory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c: scope_hint: In function ‘rpc_send_rpc_auth_3_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:430:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_client_call_new(auth_3_pdu.header.call_id, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:387:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:390:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:393:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:203:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_bind.c:395:9: note: in expansion of macro ‘WLog_DBG’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c: scope_hint: In function ‘rpc_client_call_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:956:12: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_client_call_new(*rpc.CallId, (unsigned int)opnum)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:961:27: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_client_call_new(*rpc.CallId, (unsigned int)opnum)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c: scope_hint: In function ‘rpc_client_write_call’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:1072:34: warning[-Wanalyzer-malloc-leak]: leak of ‘rpc_client_call_new(*rpc.CallId, (unsigned int)opnum)’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def324]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:1074:17: warning[-Wanalyzer-mismatching-deallocation]: ‘rpc_client_call_new(*rpc.CallId, (unsigned int)opnum)’ should have been deallocated with ‘free’ but was deallocated with ‘rpc_client_call_free’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def325]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c: scope_hint: In function ‘rpc_client_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:1204:9: warning[-Wanalyzer-mismatching-deallocation]: ‘client’ should have been deallocated with ‘free’ but was deallocated with ‘rpc_client_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def326]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c: scope_hint: In function ‘rpc_client_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/rpc_client.c:1214:20: warning[-Wanalyzer-use-after-free]: use after ‘rpc_client_free’ of ‘client’
Error: COMPILER_WARNING (CWE-563): [#def327]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c: scope_hint: In function ‘tsg_ndr_read_tsg_caps’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:505:16: warning[-Wunused-but-set-variable]: variable ‘count’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def328]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:694:16: warning[-Wunused-but-set-variable]: variable ‘MaxOffsetValue’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def329]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c: scope_hint: In function ‘tsg_ndr_read_packet_response’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:695:16: warning[-Wunused-but-set-variable]: variable ‘idleTimeout’ set but not used
Error: CPPCHECK_WARNING (CWE-664): [#def330]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:765: error[va_list_usedBeforeStarted]: va_list 'ap' used before va_start() was called.
Error: COMPILER_WARNING (CWE-563): [#def331]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:1529:16: warning[-Wunused-but-set-variable]: variable ‘MsgId’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def332]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:1530:16: warning[-Wunused-but-set-variable]: variable ‘MsgType’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def333]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c: scope_hint: In function ‘tsg_ndr_read_caps_response’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/tsg.c:1531:16: warning[-Wunused-but-set-variable]: variable ‘IsMessagePresent’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:837:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:719:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def335]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c: scope_hint: In function ‘wst_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:837:9: warning[-Wanalyzer-mismatching-deallocation]: ‘wst’ should have been deallocated with ‘free’ but was deallocated with ‘wst_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:719:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def336]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c: scope_hint: In function ‘wst_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:847:9: warning[-Wanalyzer-use-after-free]: use after ‘wst_free’ of ‘wst’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:719:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gateway/wst.c:720:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def337]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gcc.c: scope_hint: In function ‘gcc_read_client_core_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gcc.c:1204:24: warning[-Wunused-but-set-variable]: variable ‘clientProductIdLen’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def338]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gcc.c: scope_hint: In function ‘gcc_read_server_network_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/gcc.c:1912:16: warning[-Wunused-but-set-variable]: variable ‘MCSChannelId’ set but not used
Error: COMPILER_WARNING (CWE-9001): [#def339]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:68:1: warning[-Wcomment]: multi-line comment
Error: COMPILER_WARNING (CWE-9001): [#def340]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:70:1: warning[-Wcomment]: multi-line comment
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_answer_license_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:493:57: warning[-Wanalyzer-malloc-leak]: leak of ‘loadCalFile(*license_29(D)->rdp.settings, *_1->settings.ClientHostname, & license_size)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2387:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2388:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2389:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:604:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:477:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:614:15: note: in expansion of macro ‘sprintf_s’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/string.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:627:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:629:18: note: in expansion of macro ‘_ftelli64’
Error: COMPILER_WARNING (CWE-1164): [#def342]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:801:6: warning[-Wunused-function]: ‘license_read_server_upgrade_license’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_read_binary_blob_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1476:28: warning[-Wanalyzer-malloc-leak]: leak of ‘*blob.data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2619:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1499:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:445:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1504:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1504:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1504:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1505:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1505:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:445:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:995:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_read_binary_blob_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1448:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1449:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1449:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1450:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def344]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_read_platform_challenge_packet’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1961:16: warning[-Wunused-but-set-variable]: variable ‘ConnectFlags’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def345]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: At top level
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2561:6: warning[-Wunused-function]: ‘license_read_platform_challenge_response’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2714:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2662:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_new’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def347]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2714:9: warning[-Wanalyzer-mismatching-deallocation]: ‘license’ should have been deallocated with ‘free’ but was deallocated with ‘license_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2662:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def348]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2728:17: warning[-Wanalyzer-use-after-free]: use after ‘license_free’ of ‘license’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2662:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c: scope_hint: In function ‘freerdp_listener_open’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:221:47: warning[-Wanalyzer-malloc-leak]: leak of ‘WSACreateEvent()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c: scope_hint: In function ‘freerdp_listener_open_local’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:300:30: warning[-Wanalyzer-malloc-leak]: leak of ‘((rdpListener)*(void *)*instance.listener).events[<unknown>]’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/log.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:289:18: note: in expansion of macro ‘CreateFileDescriptorEvent’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:289:18: note: in expansion of macro ‘CreateFileDescriptorEvent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c: scope_hint: In function ‘freerdp_listener_open_from_socket’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/listener.c:325:39: warning[-Wanalyzer-malloc-leak]: leak of ‘WSACreateEvent()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def352]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_BitmapUpdate’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:132:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_bitmap_update(context, bitmap)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_Palette’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:150:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_palette_update(context, palette)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_SurfaceBits’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:280:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_surface_bits_command(context, surfaceBitsCommand)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_CacheBitmap’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:831:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_cache_bitmap_order(context, cacheBitmapOrder)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_CacheBitmapV2’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:850:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_cache_bitmap_v2_order(context, cacheBitmapV2Order)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_CacheBitmapV3’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:869:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_cache_bitmap_v3_order(context, cacheBitmapV3Order)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_CacheColorTable’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:888:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_cache_color_table_order(context, cacheColorTableOrder)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_CacheBrush’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:943:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_cache_brush_order(context, cacheBrushOrder)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerPosition’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1585:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_position_update(context, pointerPosition)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerSystem’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1604:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_system_update(context, pointerSystem)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerColor’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1623:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_color_update(context, pointerColor)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerLarge’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1641:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_large_update(context, pointer)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerNew’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1659:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_new_update(context, pointerNew)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_PointerCached’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1678:14: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_pointer_cached_update(context, pointerCached)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c: scope_hint: In function ‘nla_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2107:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2068:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2072:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def367]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2107:9: warning[-Wanalyzer-mismatching-deallocation]: ‘nla’ should have been deallocated with ‘free’ but was deallocated with ‘nla_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2068:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2072:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def368]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c: scope_hint: In function ‘nla_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2122:9: warning[-Wanalyzer-use-after-free]: use after ‘nla_free’ of ‘nla’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2068:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2069:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.c:2072:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def369]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2246:9: warning[-Wanalyzer-mismatching-deallocation]: ‘cache_bitmap’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4296:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3968:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_bitmap_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2197:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def370]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2620:9: warning[-Wanalyzer-mismatching-deallocation]: ‘cache_color_table’ should have been deallocated with ‘free’ but was deallocated with ‘free_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4296:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘update_read_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_read_cache_color_table_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def371]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c: scope_hint: In function ‘rdp_read_header’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:529:14: warning[-Wunused-but-set-variable]: variable ‘byte’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def372]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c: scope_hint: In function ‘rdp_recv_server_set_keyboard_indicators_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:968:16: warning[-Wunused-but-set-variable]: variable ‘unitId’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def373]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c: scope_hint: In function ‘rdp_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2386:9: warning[-Wanalyzer-mismatching-deallocation]: ‘rdp’ should have been deallocated with ‘free’ but was deallocated with ‘rdp_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2259:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2266:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def374]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c: scope_hint: In function ‘rdp_free_rc4_decrypt_keys’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2653:9: warning[-Wanalyzer-use-after-free]: use after ‘rdp_free’ of ‘rdp’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2259:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2266:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2393:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.c:2652:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c: scope_hint: In function ‘wts_read_drdynvc_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:331:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dvc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:275:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:276:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:284:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:284:9: note: in expansion of macro ‘Stream_Read_UINT8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:343:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dvc’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:275:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:276:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:284:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:284:9: note: in expansion of macro ‘Stream_Read_UINT8’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def377]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:943:9: warning[-Wanalyzer-mismatching-deallocation]: ‘channel_new(HashTable_GetItemValue(g_ServerHandles, (const void *)(long unsigned int)SessionId), client, 0, 0, 1, (long unsigned int)freerdp_settings_get_uint32(*client_41->context.settings, 2881), pVirtualName)’ should have been deallocated with ‘free’ but was deallocated with ‘server_channel_common_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c: scope_hint: In function ‘FreeRDP_WTSVirtualChannelOpenEx’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1386:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1240:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1241:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1241:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def378]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1920:9: warning[-Wanalyzer-use-after-free]: use after ‘server_channel_common_free’ of ‘channel’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c: scope_hint: In function ‘server_channel_common_free’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def379]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c: scope_hint: In function ‘server_channel_common_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1920:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*channel.queue’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c: scope_hint: In function ‘server_channel_common_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1931:12: warning[-Wanalyzer-malloc-leak]: leak of ‘server_channel_common_new(client, (int)index, ChannelId, chunkSize, & queueCallbacks, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1934:35: warning[-Wanalyzer-malloc-leak]: leak of ‘server_channel_common_new(client, (int)index, ChannelId, chunkSize, & queueCallbacks, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1947:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def383]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/server.c:1952:9: warning[-Wanalyzer-mismatching-deallocation]: ‘channel’ should have been deallocated with ‘free’ but was deallocated with ‘server_channel_common_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c: scope_hint: In function ‘find_path_exists_with_dijkstra’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:405:23: warning[-Wanalyzer-malloc-leak]: leak of ‘alloc_array(count)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:427:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:427:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:430:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c: scope_hint: In function ‘alloc_array’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:409:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘array’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c: scope_hint: In function ‘freerdp_settings_get_config_path.part.0’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:738:9: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_settings_get_config_path.part.0()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c: scope_hint: In function ‘freerdp_settings_int_buffer_copy’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:1265:20: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_clone(*settings.RdpServerCertificate)’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def388]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c: scope_hint: In function ‘freerdp_settings_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.c:1531:9: warning[-Wanalyzer-mismatching-deallocation]: ‘_settings’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_settings_free’
Error: COMPILER_WARNING (CWE-1164): [#def389]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:106:13: warning[-Wunused-function]: ‘transport_bio_simple_callback’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def390]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:464:13: warning[-Wunused-function]: ‘transport_bio_buffered_callback’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def391]
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c: scope_hint: In function ‘transport_disconnect’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1584:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*transport.io.TransportDisconnect’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:103:11: note: in definition of macro ‘IFCALLRESULT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:103:11: note: in definition of macro ‘IFCALLRESULT’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:103:11: note: in definition of macro ‘IFCALLRESULT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1698:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1633:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1668:37: note: in expansion of macro ‘CreateEvent’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1668:37: note: in expansion of macro ‘CreateEvent’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def393]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c: scope_hint: In function ‘transport_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1698:9: warning[-Wanalyzer-mismatching-deallocation]: ‘transport’ should have been deallocated with ‘free’ but was deallocated with ‘transport_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1633:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def394]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c: scope_hint: In function ‘transport_layer_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/transport.c:1915:21: warning[-Wanalyzer-use-after-free]: use after ‘transport_layer_free’ of ‘layer’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def395]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.c: scope_hint: In function ‘update_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.c:3269:54: warning[-Wanalyzer-use-after-free]: use after ‘update_free’ of ‘update’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.c:3197:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.c:3198:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def396]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c: scope_hint: In function ‘ber_read_unicode_octet_string’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:460:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:127:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/crypto/ber.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:129:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:132:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:132:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:132:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:36:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:37:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:37:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:39:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:42:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:42:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:42:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/ber.c:457:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
Error: COMPILER_WARNING (CWE-1164): [#def397]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1002:13: warning[-Wunused-function]: ‘certificate_write_server_x509_certificate_chain’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def398]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1163:9: warning[-Wanalyzer-mismatching-deallocation]: ‘freerdp_certificate_new()’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_certificate_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1132:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1133:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1133:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1174:16: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new()’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def400]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘certificate_free_int’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1181:17: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_certificate_free’ of ‘cert’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1179:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def401]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_new_from_der’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1272:9: warning[-Wanalyzer-mismatching-deallocation]: ‘freerdp_certificate_new()’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_certificate_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_new_from_x509’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1281:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new_from_x509(x509_utils_from_pem(file, strlen(file), isFile), 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1278:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def403]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1297:9: warning[-Wanalyzer-mismatching-deallocation]: ‘freerdp_certificate_new()’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_certificate_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1278:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_get_fingerprint_by_hash’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1347:27: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_fingerprint_by_hash(cert, "sha256")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_get_fingerprint_by_hash_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1347:27: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_fingerprint_by_hash_ex(cert, hash, 1)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘bio_read_pem’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1437:16: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1400:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1401:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1401:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1419:25: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_get_pem_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1451:18: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_pem_ex(cert, pLength, 1)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1449:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_new_from_x509’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1710:31: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new_from_x509(x509_utils_from_pem(file, strlen(file), isFile), 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1278:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1208:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1709:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def409]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_data.c: scope_hint: In function ‘freerdp_certificate_data_new_nocopy’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_data.c:134:9: warning[-Wanalyzer-mismatching-deallocation]: ‘certdata’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_certificate_data_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def410]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_data.c: scope_hint: In function ‘freerdp_certificate_data_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_data.c:179:18: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_certificate_data_free’ of ‘data’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c: scope_hint: In function ‘freerdp_certificate_store_load_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:136:16: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_store_load_data(store, freerdp_certificate_data_get_host(data), (int)freerdp_certificate_data_get_port(data))’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:134:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:198:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:168:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def413]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c: scope_hint: In function ‘freerdp_certificate_store_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:168:9: warning[-Wanalyzer-mismatching-deallocation]: ‘store’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_certificate_store_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def414]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c: scope_hint: In function ‘freerdp_certificate_store_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate_store.c:178:19: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_certificate_store_free’ of ‘store’
Error: COMPILER_WARNING (CWE-1164): [#def415]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/per.c:476:13: warning[-Wunused-function]: ‘per_write_string’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def416]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c: scope_hint: In function ‘freerdp_key_new_from_pem’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c:240:9: warning[-Wanalyzer-mismatching-deallocation]: ‘freerdp_key_new()’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_key_free’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def417]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c: scope_hint: In function ‘freerdp_key_new_from_file’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c:258:9: warning[-Wanalyzer-mismatching-deallocation]: ‘freerdp_key_new()’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_key_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c: scope_hint: In function ‘freerdp_key_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c:264:16: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_key_new()’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def419]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c: scope_hint: In function ‘freerdp_key_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c:303:9: warning[-Wanalyzer-mismatching-deallocation]: ‘_key’ should have been deallocated with ‘free’ but was deallocated with ‘freerdp_key_free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def420]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c: scope_hint: In function ‘freerdp_key_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/privatekey.c:313:9: warning[-Wanalyzer-use-after-free]: use after ‘freerdp_key_free’ of ‘key’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def421]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c: scope_hint: In function ‘scard_copy_strings’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:182:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘tmp’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:176:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c: scope_hint: In function ‘insert_data’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2330:12: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2306:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2307:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2307:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2334:9: warning[-Wanalyzer-malloc-leak]: leak of ‘item’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2306:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2307:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2307:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def424]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c: scope_hint: In function ‘Emulate_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2732:9: warning[-Wanalyzer-mismatching-deallocation]: ‘smartcard’ should have been deallocated with ‘free’ but was deallocated with ‘Emulate_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2679:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def425]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c: scope_hint: In function ‘Emulate_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2742:9: warning[-Wanalyzer-use-after-free]: use after ‘Emulate_Free’ of ‘context’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:2679:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_ef_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:275:16: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ef’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:284:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vgids_ef_new(ctx, 40960)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:284:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vgids_ef_new(ctx, 40976)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:821:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:822:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:823:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:890:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:890:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:891:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:891:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:892:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:302:17: note: in expansion of macro ‘WLog_ERR’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c:334:16: warning[-Wanalyzer-malloc-leak]: leak of ‘vgids_ef_new(ctx, 40978)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_virtual_gids.c: scope_hint: In function ‘vgids_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c: scope_hint: In function ‘gdi_init_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1381:12: warning[-Wanalyzer-malloc-leak]: leak of ‘*context.cache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1344:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1347:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1348:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1206:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1207:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gdi.c:1208:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c: scope_hint: In function ‘gdi_ImportCacheEntry’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1421:43: warning[-Wanalyzer-malloc-leak]: leak of ‘gdi_GfxCacheEntryNew(*importCacheEntry.key64, (unsigned int)*importCacheEntry.width, (unsigned int)*importCacheEntry.height, 537135240)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c: scope_hint: In function ‘gdi_SurfaceToCache’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1421:43: warning[-Wanalyzer-malloc-leak]: leak of ‘gdi_GfxCacheEntryNew(*surfaceToCache.cacheKey, (unsigned int)((int)((const RECTANGLE_16 *)((char *)surfaceToCache + 2))[2].right - (int)((const RECTANGLE_16 *)((char *)surfaceToCache + 2))[2].left), (unsigned int)((int)((const RECTANGLE_16 *)((char *)surfaceToCache + 2))[2].bottom - (int)((const RECTANGLE_16 *)((char *)surfaceToCache + 2))[2].top), *<unknown>.format)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1447:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c: scope_hint: In function ‘gdi_CacheImportReply’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1580:37: warning[-Wanalyzer-malloc-leak]: leak of ‘gdi_GfxCacheEntryNew((long unsigned int)cacheSlot, 0, 0, 537135240)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1568:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c: scope_hint: In function ‘gdi_CacheImportReply’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c: scope_hint: In function ‘gdi_ImportCacheEntry’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/gfx.c:1612:60: warning[-Wanalyzer-malloc-leak]: leak of ‘gdi_GfxCacheEntryNew(*importCacheEntry.key64, (unsigned int)*importCacheEntry.width, (unsigned int)*importCacheEntry.height, 537135240)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def435]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/shape.c:169:33: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING: [#def436]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/shape.c: scope_hint: In function ‘gdi_FillRect’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/shape.c:169:33: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/gdi/shape.c:25: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
Error: COMPILER_WARNING (CWE-1164): [#def437]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/locale/keyboard.c:261:12: warning[-Wunused-function]: ‘freerdp_keyboard_init_apple’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def438]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/primitives/sse/prim_copy_avx2.c:37:25: warning[-Wunused-function]: ‘avx2_image_copy_no_overlap_convert’ declared ‘static’ but never defined
Error: COMPILER_WARNING: [#def439]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/primitives/sse/prim_copy_avx2.c: scope_hint: In function ‘avx2_image_copy_bgr24_bgrx32’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/primitives/sse/prim_copy_avx2.c:55:23: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING (CWE-1164): [#def440]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/primitives/sse/prim_copy_sse4_1.c:37:25: warning[-Wunused-function]: ‘sse_image_copy_no_overlap_convert’ declared ‘static’ but never defined
Error: GCC_ANALYZER_WARNING (CWE-688): [#def441]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/passphrase.c: scope_hint: In function ‘freerdp_passphrase_read_tty’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/passphrase.c:174:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fout’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_fputs’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c: scope_hint: In function ‘pcap_read_header’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:55:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:197:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:225:23: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:52:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:53:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/pcap.c:53:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def443]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c: scope_hint: In function ‘smartcard_GetStatusChangeA_Call’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:920:25: warning[-Wanalyzer-null-argument]: use of NULL ‘rgReaderStates’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:901:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:902:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:902:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:903:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:903:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:922:34: note: in expansion of macro ‘wrap’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def444]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c: scope_hint: In function ‘smartcard_GetStatusChangeW_Call’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:982:25: warning[-Wanalyzer-null-argument]: use of NULL ‘rgReaderStates’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:963:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:964:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:964:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:965:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:965:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:985:42: note: in expansion of macro ‘wrap’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c: scope_hint: In function ‘smartcard_call_context_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:1917:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:1848:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def446]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:1917:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ctx’ should have been deallocated with ‘free’ but was deallocated with ‘smartcard_call_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:1848:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def447]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c: scope_hint: In function ‘smartcard_call_context_signal_stop’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:2029:17: warning[-Wanalyzer-use-after-free]: use after ‘smartcard_call_context_free’ of ‘ctx’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:1848:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:2028:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-563): [#def448]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_operations.c: scope_hint: In function ‘smartcard_irp_device_control_decode’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_operations.c:553:16: warning[-Wunused-but-set-variable]: variable ‘outputBufferLength’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def449]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_pack.c:395: warning[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c: scope_hint: In function ‘rdtk_font_parse_descriptor_buffer’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:173:37: warning[-Wanalyzer-malloc-leak]: leak of ‘rdtk_font_load_descriptor_file(filename, & size)’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:584:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:151:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:152:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:152:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:164:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:166:24: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/rdtk/librdtk/rdtk_font.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
freerdp-3.9.0-build/FreeRDP-3.9.0/redhat-linux-build/winpr/include/winpr/wtypes.h:218:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fd[0]’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:487:24: note: in expansion of macro ‘FALSE’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:487:24: note: in expansion of macro ‘FALSE’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def452]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/string.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c: scope_hint: In function ‘CreatePipe’
freerdp-3.9.0-build/FreeRDP-3.9.0/redhat-linux-build/winpr/include/winpr/wtypes.h:218:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_fd[1]’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:487:24: note: in expansion of macro ‘FALSE’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:487:24: note: in expansion of macro ‘FALSE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/string.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevman.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevman.c: scope_hint: In function ‘urbdrc_udevman_register_devices’
freerdp-3.9.0-build/FreeRDP-3.9.0/redhat-linux-build/winpr/include/winpr/wtypes.h:218:15: warning[-Wanalyzer-malloc-leak]: leak of ‘idpair’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevman.c:685:32: note: in expansion of macro ‘FALSE’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/urbdrc/client/libusb/libusb_udevman.c:685:32: note: in expansion of macro ‘FALSE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c: scope_hint: In function ‘pf_channel_rdpdr_server_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/redhat-linux-build/winpr/include/winpr/wtypes.h:218:15: warning[-Wanalyzer-malloc-leak]: leak of ‘rdpdr’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1794:24: note: in expansion of macro ‘FALSE’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1789:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1790:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1796:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1794:24: note: in expansion of macro ‘FALSE’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/channels/pf_channel_rdpdr.c:1794:24: note: in expansion of macro ‘FALSE’
Error: COMPILER_WARNING (CWE-1164): [#def455]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/modules/bitmap-filter/bitmap-filter.cpp:306:13: warning[-Wunused-function]: ‘BOOL filter_forward_empty_offer(const char*, proxyDynChannelInterceptData*, size_t, UINT32)’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def456]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c: scope_hint: In function ‘channelTracker_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:88:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ret’ should have been deallocated with ‘free’ but was deallocated with ‘channelTracker_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:18: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:72:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:72:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:45:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def457]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c: scope_hint: In function ‘channelTracker_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:163:9: warning[-Wanalyzer-use-after-free]: use after ‘channelTracker_free’ of ‘t’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:72:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:72:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_channel.c:45:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def458]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:193:13: warning[-Wunused-function]: ‘freerdp_client_load_static_channel_addin’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c: scope_hint: In function ‘pf_client_verify_X509_certificate’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:957:25: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(hostname)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:937:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:938:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:938:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:939:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:939:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:940:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:940:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_client.c:943:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:890:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:890:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:891:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:891:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:892:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def460]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_server_config_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:846:20: warning[-Wanalyzer-use-after-free]: use after ‘pf_server_config_free’ of ‘config’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:950:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_server_config_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_server_config_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:929:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_config_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:1000:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:950:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_config_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_config_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:929:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def462]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:1000:9: warning[-Wanalyzer-mismatching-deallocation]: ‘tmp’ should have been deallocated with ‘free’ but was deallocated with ‘pf_server_config_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:950:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:951:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_config_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c: scope_hint: In function ‘pf_config_clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:928:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_config.c:929:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def463]
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/proxy/proxy_server.h:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c: scope_hint: In function ‘StaticChannelContext_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:118:19: warning[-Wanalyzer-use-after-free]: use after ‘StaticChannelContext_free’ of ‘ctx’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:79:21: note: in definition of macro ‘IFCALL’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c: scope_hint: In function ‘client_to_proxy_context_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:211:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/proxy/proxy_modules_api.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/proxy/proxy_config.h:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/proxy/proxy_server.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:137:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:138:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:138:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:362:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:336:36: note: in expansion of macro ‘CreateEvent’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:336:36: note: in expansion of macro ‘CreateEvent’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:339:41: note: in expansion of macro ‘CreateEvent’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def466]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c: scope_hint: In function ‘proxy_data_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:362:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pdata’ should have been deallocated with ‘free’ but was deallocated with ‘proxy_data_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/print.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:336:36: note: in expansion of macro ‘CreateEvent’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def467]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c: scope_hint: In function ‘proxy_data_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:390:18: warning[-Wanalyzer-use-after-free]: use after ‘proxy_data_free’ of ‘pdata’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_context.c:336:36: note: in expansion of macro ‘CreateEvent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:491:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_key_new_from_pem(*server_25->config.PrivateKeyPEM)’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:468:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:475:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:498:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new_from_pem(*server_25->config.CertificatePEM)’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:468:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:475:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def470]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c: scope_hint: In function ‘pf_server_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:981:9: warning[-Wanalyzer-mismatching-deallocation]: ‘server’ should have been deallocated with ‘free’ but was deallocated with ‘pf_server_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:932:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def471]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c: scope_hint: In function ‘pf_server_stop.part.0’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:1048:15: warning[-Wanalyzer-use-after-free]: use after ‘pf_server_free’ of ‘server’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:932:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def472]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/X11/x11_shadow.c:589:13: warning[-Wunused-function]: ‘x11_shadow_validate_region’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def473]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/X11/x11_shadow.c:609:12: warning[-Wunused-function]: ‘x11_shadow_blend_cursor’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-762): [#def474]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_capture.c: scope_hint: In function ‘shadow_capture_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_capture.c:326:17: warning[-Wanalyzer-mismatching-deallocation]: ‘capture’ should have been deallocated with ‘free’ but was deallocated with ‘shadow_capture_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/shadow.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_surface.h:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_capture.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_capture.c:313:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c: scope_hint: In function ‘shadow_client_send_surface_gfx’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1283:33: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 1024)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1885:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1886:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1953:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1953:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1955:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1955:25: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1281:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1281:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1283:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_client.c:1284:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_encomsp.c: scope_hint: In function ‘shadow_client_encomsp_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_encomsp.c:109:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘encomsp_server_context_new(*client.vcm)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def477]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_remdesk.c: scope_hint: In function ‘shadow_client_remdesk_init’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_remdesk.c:32:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘remdesk_server_context_new(*client.vcm)’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def478]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c: scope_hint: In function ‘shadow_screen_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:90:9: warning[-Wanalyzer-mismatching-deallocation]: ‘screen’ should have been deallocated with ‘free’ but was deallocated with ‘shadow_screen_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:30:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:31:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def479]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c: scope_hint: In function ‘shadow_screen_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:105:19: warning[-Wanalyzer-use-after-free]: use after ‘shadow_screen_free’ of ‘screen’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:30:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_screen.c:31:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c: scope_hint: In function ‘shadow_server_init_certificate’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:867:42: warning[-Wanalyzer-malloc-leak]: leak of ‘GetCombinedPath(*server.ConfigPath, "shadow")’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:840:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:879:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_key_new_from_file(*server.PrivateKeyFile)’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:840:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:874:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:886:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new_from_file(*server.CertificateFile)’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:840:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:874:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:889:12: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_new_from_file(*server.CertificateFile)’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:840:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow_server.c:874:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2418:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2387:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2388:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2389:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:604:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:477:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:614:15: note: in expansion of macro ‘sprintf_s’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:627:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:629:18: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2402:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1257:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1210:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1211:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2418:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nego.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nego.c: scope_hint: In function ‘nego_send_negotiation_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 512)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nego.c:1076:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nego.c:1076:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘allocatePlugin()’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1835:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:32:9: note: in definition of macro ‘FREERDP_ENTRY_POINT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1806:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1807:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpsnd/client/rdpsnd_main.c:1835:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/krb5glue_mit.c:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/krb5glue_mit.c: scope_hint: In function ‘krb5glue_get_init_creds’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘create_temporary_file()’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/krb5glue_mit.c:133:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/krb5glue_mit.c:133:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c: scope_hint: In function ‘license_answer_license_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘license_new_binary_blob(1)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2418:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2387:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2388:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2389:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:604:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:605:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:606:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:477:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:478:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:614:15: note: in expansion of macro ‘sprintf_s’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:627:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:629:18: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2402:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1257:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1210:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1211:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:1213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/license.c:2418:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:35: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c: scope_hint: In function ‘pf_server_initialize_peer_connection’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘proxy_data_new()’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:468:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:475:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/proxy/pf_server.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/server/shadow.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow.c:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow.c: scope_hint: In function ‘main’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘shadow_server_new()’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow.c:119:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/server/shadow/shadow.c:119:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c: scope_hint: In function ‘freerdp_tcp_connect_layer’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘transport_layer_new(freerdp_get_transport(context), 16)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:1512:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:1487:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:1490:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/tcp.c:1512:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_compute.c: scope_hint: In function ‘ntlm_compute_message_integrity_check’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_HMAC_New()’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:902:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_compute.c:902:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:20: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_calloc(1, 3680648, 32)’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2640:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/codec/progressive.c:2640:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-252): [#def494]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/debug.c:36: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/debug.c: scope_hint: In function ‘winpr_backtrace_symbols_fd’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:41:16: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/debug.c:195:31: note: in expansion of macro ‘_write’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/nla.h:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/rdp.h:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_WindowIcon’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:49: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1319:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1308:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1319:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1319:9: note: in expansion of macro ‘CopyMemory’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def496]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c: scope_hint: In function ‘update_message_MonitoredDesktop’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:49: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc((long unsigned int)((unsigned int*)&<unknown>)[1], 4)’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1539:17: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1524:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1533:9: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/message.c:1539:17: note: in expansion of macro ‘CopyMemory’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def497]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c: scope_hint: In function ‘Stream_EnsureCapacity’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:49: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_buf’ where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:67:25: note: in expansion of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:23: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1033:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c: scope_hint: In function ‘Stream_EnsureCapacity’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:46:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/stream.c:67:25: note: in expansion of macro ‘CopyMemory’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/security.h:33: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/handle.h:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/synch.h:33: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c: scope_hint: In function ‘smartcard_EstablishContext_Call’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/nt.h:30:29: warning[-Wanalyzer-malloc-leak]: leak of ‘pContext’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/nt.h:63:26: note: in expansion of macro ‘STATUS_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:104:32: note: in expansion of macro ‘STATUS_NO_MEMORY’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/nt.h:63:26: note: in expansion of macro ‘STATUS_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/utils/smartcard_call.c:104:32: note: in expansion of macro ‘STATUS_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/settings.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:150:38: warning[-Wanalyzer-malloc-leak]: leak of ‘update_read_cache_brush_order(update, s, (int)stream_read_u16_le(s, 1))’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4296:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4299:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3941:9: note: in expansion of macro ‘Stream_Read_INT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3942:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3943:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:3968:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/update.h:131:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c: scope_hint: In function ‘update_recv_secondary_order’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2919:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2922:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2922:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2922:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2923:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2923:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2929:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2929:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2929:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2930:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2930:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2933:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2933:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2934:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:2934:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/settings_types_private.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/api.h:103:11: note: in definition of macro ‘IFCALLRESULT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/core/orders.c:4075:46: note: in expansion of macro ‘IFCALLRESULT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c: scope_hint: In function ‘rdpgfx_recv_caps_advertise_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:647:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘capsSet’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1298:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1793:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1794:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1033:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1033:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c: scope_hint: In function ‘rdpgfx_recv_caps_advertise_pdu’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1024:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1278:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1281:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1281:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1281:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1298:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1298:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1298:17: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpgfx/server/rdpgfx_main.c:1298:17: note: in expansion of macro ‘Stream_Read_UINT32’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘audin_channel_write_and_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:32: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 5)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/types.h:139: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/addin.h:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:35: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:69:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredCapacityOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:573:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredCapacity’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:576:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:576:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:147:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:148:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:576:9: note: in expansion of macro ‘Stream_Read_UINT8’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:139:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:139:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/audin/client/audin_main.c:139:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘location_server_packet_send’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:32: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, 14)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:573:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:574:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:574:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:541:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:542:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:542:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/synch.h:32: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/location/server/location_main.c:546:24: note: in expansion of macro ‘ERROR_OUTOFMEMORY’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘rdpdr_server_send_device_create_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:32: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, pathLength + 256)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3307:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3308:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3309:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:3309:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2493:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:189:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:190:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2255:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2256:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2258:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/include/freerdp/freerdp.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h: scope_hint: In function ‘rdpdr_server_send_device_query_directory_request’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:32: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, pathLength + 64)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2832:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2833:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2834:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2834:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2835:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:113:48: note: in definition of macro ‘Stream_CheckAndLogRequiredLengthOfSizeWLog’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2849:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthWLog’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2852:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2852:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2852:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:189:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:190:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2399:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2400:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/channels/rdpdr/server/rdpdr_main.c:2402:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:812:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:813:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:814:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:795:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:796:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:797:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c: scope_hint: In function ‘Emulate_SCardEstablishContext’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:140:21: warning[-Wanalyzer-malloc-leak]: leak of ‘scard_context_new()’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:387:9: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:380:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:219:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:231:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:145:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/emu/scard/smartcard_emulate.c:387:9: note: in expansion of macro ‘WLog_Print’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/debug.h:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:150:21: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateSemaphoreW(lpSemaphoreAttributes, lInitialCount, lMaximumCount, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c:147:17: note: in expansion of macro ‘WLog_ERR’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c:147:17: note: in expansion of macro ‘WLog_ERR’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c:147:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:36: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:150:21: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(id)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:205:29: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:393:17: note: in expansion of macro ‘WLog_WARN’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:152:17: note: in expansion of macro ‘WLog_Print’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:205:29: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:393:17: note: in expansion of macro ‘WLog_WARN’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:205:29: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:393:17: note: in expansion of macro ‘WLog_WARN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_get_fingerprint_by_hash’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:150:21: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_fingerprint_by_hash(cert, "sha256")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1349:17: note: in expansion of macro ‘WLog_ERR’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1349:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c: scope_hint: In function ‘freerdp_certificate_get_fingerprint_by_hash_ex’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:150:21: warning[-Wanalyzer-malloc-leak]: leak of ‘freerdp_certificate_get_fingerprint_by_hash_ex(cert, hash, 1)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1349:17: note: in expansion of macro ‘WLog_ERR’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:206:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/libfreerdp/crypto/certificate.c:1349:17: note: in expansion of macro ‘WLog_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c: scope_hint: In function ‘clipboard_synthesize_html_format’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c:494:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, (long unsigned int)(SrcSize + 1))’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/image.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c:480:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic.c:481:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘make_synthetic_file’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:84:12: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileW(local_name, & fd)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘make_synthetic_file’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:37: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:574:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:391:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:365:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:348:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:313:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:80:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘do_add_directory_contents_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:249:12: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileW(namebuf, & FindData)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘do_add_directory_contents_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:574:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:391:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:365:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:348:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:313:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:80:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:289:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:241:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘add_file_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:320:12: warning[-Wanalyzer-malloc-leak]: leak of ‘make_synthetic_file(local_name, remote_name)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c: scope_hint: In function ‘add_file_to_list’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:570:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:574:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:391:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:365:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:366:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:367:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:348:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:313:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:80:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:289:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:241:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:209:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:210:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:210:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:211:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:211:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:212:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:213:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:144:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:176:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:176:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:177:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:313:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:314:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:315:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:316:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:80:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:81:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:289:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:290:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:291:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:292:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:241:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:242:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:243:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:244:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:245:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:209:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:210:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: COMPILER_WARNING (CWE-1164): [#def514]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:622:14: warning[-Wunused-function]: ‘convert_nautilus_clipboard_to_filedescriptors’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def515]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/clipboard/synthetic_file.c:889:14: warning[-Wunused-function]: ‘convert_filedescriptors_to_nautilus_clipboard’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c: scope_hint: In function ‘DefineCommDevice’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:974:33: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(lpDeviceName)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:41: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:955:28: note: in expansion of macro ‘_tcsdup’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:955:28: note: in expansion of macro ‘_tcsdup’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:963:28: note: in expansion of macro ‘_tcsdup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:974:33: warning[-Wanalyzer-malloc-leak]: leak of ‘_strdup(lpTargetPath)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:955:28: note: in expansion of macro ‘_tcsdup’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:963:28: note: in expansion of macro ‘_tcsdup’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:963:28: note: in expansion of macro ‘_tcsdup’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def518]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c: scope_hint: In function ‘CommCreateFileA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1360:60: warning[-Wanalyzer-fd-leak]: leak of file descriptor
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1081:29: note: in expansion of macro ‘_tcsnlen’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1088:9: note: in expansion of macro ‘_tcsncpy’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1088:9: note: in expansion of macro ‘_tcsncpy’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:34: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c: scope_hint: In function ‘CommCreateFileA’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def519]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1360:60: warning[-Wanalyzer-mismatching-deallocation]: ‘pComm’ should have been deallocated with ‘free’ but was deallocated with ‘CloseHandle’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1081:29: note: in expansion of macro ‘_tcsnlen’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1088:9: note: in expansion of macro ‘_tcsncpy’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c:1088:9: note: in expansion of macro ‘_tcsncpy’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/comm/comm.c: scope_hint: In function ‘CommCreateFileA’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:80:23: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_malloc(num * size, alignment, offset)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_offset_malloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:80:23: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_malloc(size, alignment, offset)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_offset_realloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:80:23: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_realloc(memblock, size, alignment, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:141:17: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_realloc(memblock, size, alignment, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_offset_recalloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:182:31: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_recalloc(memblock, num, size, alignment, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_recalloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:182:31: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_recalloc(0, count, size, alignment)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_offset_recalloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:195:17: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_aligned_offset_recalloc(memblock, num, size, alignment, 0)’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def527]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c: scope_hint: In function ‘winpr_aligned_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crt/alignment.c:251:17: warning[-Wanalyzer-use-after-free]: use after ‘winpr_aligned_free’ of ‘memblock’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def528]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/cipher.c: scope_hint: In function ‘winpr_RC4_New_Internal’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/cipher.c:115:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ctx’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_RC4_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def529]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/cipher.c: scope_hint: In function ‘winpr_RC4_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/cipher.c:158:9: warning[-Wanalyzer-use-after-free]: use after ‘winpr_RC4_Free’ of ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_HMAC_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:180:12: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_HMAC_New()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:199:12: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_HMAC_New()’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def532]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:210:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ctx’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_HMAC_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def533]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_HMAC_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:380:9: warning[-Wanalyzer-use-after-free]: use after ‘winpr_HMAC_Free’ of ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def534]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_HMAC’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:426:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_HMAC_New()’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_HMAC_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:217:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/winpr.h:173:27: note: in definition of macro ‘WINPR_CAST_CONST_PTR_AWAY’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/winpr.h:173:27: note: in definition of macro ‘WINPR_CAST_CONST_PTR_AWAY’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_Digest_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:455:12: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_Digest_New()’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:465:12: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_Digest_New()’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def537]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:481:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ctx’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_Digest_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def538]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_Digest_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:724:16: warning[-Wanalyzer-use-after-free]: use after ‘winpr_Digest_Free’ of ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def539]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_Digest_Allow_FIPS’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:765:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_Digest_New()’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_Digest_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:532:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def540]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c: scope_hint: In function ‘winpr_Digest’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:788:9: warning[-Wanalyzer-mismatching-deallocation]: ‘winpr_Digest_New()’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_Digest_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:569:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/crypto/hash.c:489:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c: scope_hint: In function ‘MergeEnvironmentStrings’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c:329:12: warning[-Wanalyzer-malloc-leak]: leak of ‘MergeEnvironmentStrings(*envBlock, envstr)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:31: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c:24: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c:568:23: note: in expansion of macro ‘sprintf_s’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c:336:16: warning[-Wanalyzer-malloc-leak]: leak of ‘MergeEnvironmentStrings(*envBlock, envstr)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/environment/environment.c:568:23: note: in expansion of macro ‘sprintf_s’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c: scope_hint: In function ‘GetFileHandleForFileDescriptor’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c:1462:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c: scope_hint: In function ‘winpr_fopen’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c:1472:16: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_fopen(_strdup(lpFileName), "ab")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c: scope_hint: In function ‘winpr_fopen’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c:1472:16: warning[-Wanalyzer-malloc-leak]: leak of ‘winpr_fopen(_strdup(lpFileName), FileGetMode(dwDesiredAccess, dwCreationDisposition, & create))’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c: scope_hint: In function ‘winpr_fopen’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/file.c:46: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘GetFileAttributesA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:520:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:523:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def548]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:523:9: warning[-Wanalyzer-mismatching-deallocation]: ‘FindFirstFileA(lpFileName, & findFileData)’ should have been deallocated with ‘free’ but was deallocated with ‘FindClose’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘file_search_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:886:12: warning[-Wanalyzer-malloc-leak]: leak of ‘file_search_new(lpFileName, flen - patternlen, ptr + 1, patternlen)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:51: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:906:45: warning[-Wanalyzer-malloc-leak]: leak of ‘file_search_new(lpFileName, flen - patternlen, ptr + 1, patternlen)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:924:25: warning[-Wanalyzer-malloc-leak]: leak of ‘file_search_new(lpFileName, flen - patternlen, ptr + 1, patternlen)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:931:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def553]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:931:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pFileSearch’ should have been deallocated with ‘free’ but was deallocated with ‘FindClose’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘FindFirstFileA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:994:13: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileA(ConvertWCharToUtf8Alloc(lpFileName, 0), fd)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:994:13: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileA(lpFileName, & findFileData)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘FindFirstFileA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1026:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def557]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1026:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pFileSearch’ should have been deallocated with ‘free’ but was deallocated with ‘FindClose’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘FindFirstFileW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1080:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1085:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def560]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1085:25: warning[-Wanalyzer-mismatching-deallocation]: ‘FindFirstFileA(ConvertWCharToUtf8Alloc(lpFileName, 0), fd)’ should have been deallocated with ‘free’ but was deallocated with ‘FindClose’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘file_search_new’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1209:12: warning[-Wanalyzer-malloc-leak]: leak of ‘file_search_new(lpFileName, flen - patternlen, ptr + 1, patternlen)’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def562]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1213:25: warning[-Wanalyzer-use-after-free]: use after ‘FindClose’ of ‘hFindFile’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def563]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c: scope_hint: In function ‘FindClose’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/generic.c:1213:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(WIN32_FILE_SEARCH *)hFindFile.lpPath’
Error: GCC_ANALYZER_WARNING: [#def564]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/namedPipeClient.c: scope_hint: In function ‘NamedPipeClientCreateFileA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/namedPipeClient.c:200:18: warning[-Wanalyzer-fd-use-without-check]: ‘connect’ on possibly invalid file descriptor ‘-1’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/file/namedPipeClient.c: scope_hint: In function ‘NamedPipeClientCreateFileA’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/handle/handle.h:141:19: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateSemaphoreW(lpSemaphoreAttributes, lInitialCount, lMaximumCount, 0)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c: scope_hint: In function ‘CreateSemaphoreW’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def566]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/library/library.c: scope_hint: In function ‘module_from_proc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/library/library.c:294:31: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/library/library.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:82: note: in definition of macro ‘CopyMemory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/path.c: scope_hint: In function ‘winpr_RemoveDirectory_RecursiveW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/path.c:1143:12: warning[-Wanalyzer-malloc-leak]: leak of ‘FindFirstFileW(path_slash, & findFileData)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/include/PathCchAppend.h:11:9: note: in expansion of macro ‘PATH_CCH_APPEND’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/path.c:342: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def568]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetEnvAlloc’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("HOME")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetEnvAlloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("TMPDIR")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_CACHE_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_CONFIG_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_DATA_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:74:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_RUNTIME_DIR")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("HOME")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetEnvAlloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("TMPDIR")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def576]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_CACHE_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_CONFIG_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_DATA_HOME")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvAlloc("XDG_RUNTIME_DIR")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetKnownPath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:76:23: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(id)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetKnownPath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetKnownPath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:394:16: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(id)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetKnownPath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetEnvironmentPath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:415:12: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvironmentPath(name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:417:30: warning[-Wanalyzer-malloc-leak]: leak of ‘GetEnvironmentPath(name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def584]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetCombinedPath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:463:33: warning[-Wanalyzer-malloc-leak]: leak of ‘GetCombinedPath(GetEnvironmentPath(name), path)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c:463:33: warning[-Wanalyzer-malloc-leak]: leak of ‘GetCombinedPath(GetKnownPath(id), path)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetCombinedPath’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/path/shell.c: scope_hint: In function ‘GetCombinedPath’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def586]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c: scope_hint: In function ‘CreateNamedPipeA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:717:9: warning[-Wanalyzer-malloc-leak]: leak of ‘baseSocket’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/handle/handle.h: scope_hint: In function ‘CreateNamedPipeA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c: scope_hint: In function ‘CreateNamedPipeA’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:725:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pNamedPipe’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:37: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/handle/handle.h: scope_hint: In function ‘CreateNamedPipeA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c: scope_hint: In function ‘CreateNamedPipeA’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def589]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c: scope_hint: In function ‘ConnectNamedPipe’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pipe/pipe.c:762:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘((WINPR_NAMED_PIPE)*(void *)hNamedPipe).serverfd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/pool.c: scope_hint: In function ‘winpr_SetThreadpoolThreadMinimum’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/pool.c:221:22: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &thread_pool_work_func, ptpp, 0, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/work.c: scope_hint: In function ‘winpr_SubmitThreadpoolWork’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/work.c:156:1: warning[-Wanalyzer-malloc-leak]: leak of ‘callbackInstance’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/work.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/work.c:143:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/pool/work.c:144:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c: scope_hint: In function ‘PCSC_SCardWriteCacheA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2909:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:39: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2752:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2753:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2753:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c: scope_hint: In function ‘PCSC_SCardWriteCacheW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2955:12: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2752:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2753:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/smartcard/smartcard_pcsc.c:2753:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def594]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/kerberos.c: scope_hint: In function ‘kerberos_AcceptSecurityContext’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Kerberos/kerberos.c:1210:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kerberos_ContextNew(sspi_SecureHandleGetLowerPointer(phCredential))’
Error: COMPILER_WARNING (CWE-1164): [#def595]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_av_pairs.c:52:20: warning[-Wunused-function]: ‘get_av_pair_string’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c: scope_hint: In function ‘ntlm_read_AuthenticateMessage’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:1078:74: warning[-Wanalyzer-malloc-leak]: leak of ‘*credentials.identity.User’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/asn1.h:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/sspi_gss.h:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/sspi.h:90: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:926:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:930:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:246:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:247:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:247:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:249:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:694:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:695:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:696:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:253:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:253:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:408:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:409:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:409:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:410:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:410:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:412:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:415:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:415:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:415:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/wlog.h:203:28: note: in expansion of macro ‘WLog_Print_tag’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:424:9: note: in expansion of macro ‘WLog_DBG’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:333:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:334:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1041:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:1042:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:62:39: note: in definition of macro ‘WINPR_STREAM_CAST’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:1046:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:72: note: in definition of macro ‘CopyMemory’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c: scope_hint: In function ‘ntlm_read_AuthenticateMessage’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:122:72: note: in definition of macro ‘CopyMemory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:1090:78: warning[-Wanalyzer-malloc-leak]: leak of ‘*credentials.identity.Domain’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:926:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:927:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:930:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:246:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:247:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:247:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:249:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:694:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:695:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:696:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:253:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:253:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:298:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:299:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:301:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:306:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:165:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:166:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:307:9: note: in expansion of macro ‘Stream_Read_UINT16’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:211:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:212:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:127:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:128:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:308:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:408:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:409:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:409:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:410:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:410:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:103:9: note: in expansion of macro ‘Stream_CheckAndLogRequiredLengthOfSize’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:412:14: note: in expansion of macro ‘Stream_CheckAndLogRequiredLength’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:415:9: note: in expansion of macro ‘Stream_Read_UINT32’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/NTLM/ntlm_message.c:415:9: note: in expansion of macro ‘Stream_Read_UINT32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def598]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c: scope_hint: In function ‘schannel_AcquireCredentialsHandleW.part.0’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c:139:45: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘credentials’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c: scope_hint: In function ‘schannel_AcquireCredentialsHandleW.part.0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c: scope_hint: In function ‘schannel_AcquireCredentialsHandleW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c:154:45: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘credentials’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/Schannel/schannel.c: scope_hint: In function ‘schannel_AcquireCredentialsHandleW’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/sspi_winpr.c: scope_hint: In function ‘sspi_ContextBufferFree’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/sspi/sspi_winpr.c:1069:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateEventA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:209:18: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, bManualReset, bInitialState, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateEventA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:209:18: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateEventW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:209:18: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventW(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateEventW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:276:20: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventW(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:281:9: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventW(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:293:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, bManualReset, bInitialState, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateEventA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:293:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:312:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, bManualReset, bInitialState, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:312:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateEventA(lpEventAttributes, manual, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c: scope_hint: In function ‘CreateFileDescriptorEventW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:446:16: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileDescriptorEventW(lpEventAttributes, bManualReset, bInitialState, FileDescriptor, mode)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/event.c:446:16: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateFileDescriptorEventW(lpEventAttributes, bManualReset, bInitialState, (int)(long int)pObject, 1)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c: scope_hint: In function ‘CreateMutexW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c:130:20: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateMutexW(lpMutexAttributes, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c:135:9: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateMutexW(lpMutexAttributes, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c:165:16: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateMutexA(lpMutexAttributes, bInitialOwner, name)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c: scope_hint: In function ‘CreateMutexA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/mutex.c:165:16: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateMutexA(lpMutexAttributes, initial, lpName)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c: scope_hint: In function ‘CreateSemaphoreW’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/synch/semaphore.c:136:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateSemaphoreW(lpSemaphoreAttributes, lInitialCount, lMaximumCount, 0)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/thread/process.c: scope_hint: In function ‘CreateProcessExA’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/thread/process.c:110:24: warning[-Wanalyzer-malloc-leak]: leak of ‘FindApplicationPath(*pArgs)’
Error: COMPILER_WARNING (CWE-1164): [#def618]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:68:29: warning[-Wunused-function]: ‘tz_entry_clone’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c: scope_hint: In function ‘tz_parse_json_entry’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:137:31: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "Id")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:138:30: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "StandardName")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:139:31: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "DisplayName")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:140:23: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "DaylightName")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:141:12: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "Iana")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:141:33: warning[-Wanalyzer-malloc-leak]: leak of ‘tz_get_object_str(json, pos, "Iana")’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:228:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:162:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:167:19: note: in expansion of macro ‘_ftelli64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:173:13: note: in expansion of macro ‘_fseeki64’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:129:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/timezone/TimeZoneNameMapUtils.c:107:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def625]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/cmdline.c: scope_hint: In function ‘CommandLineParseCommaSeparatedValuesEx’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/cmdline.c:729:9: warning[-Wanalyzer-null-argument]: use of NULL ‘unquoted’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-416): [#def626]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c: scope_hint: In function ‘ArrayList_Lock_Conditional’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:122:22: warning[-Wanalyzer-use-after-free]: use after ‘ArrayList_Free’ of ‘arrayList’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:530:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:200:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:201:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:201:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:259:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:121:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def627]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c: scope_hint: In function ‘ArrayList_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:598:9: warning[-Wanalyzer-mismatching-deallocation]: ‘arrayList’ should have been deallocated with ‘free’ but was deallocated with ‘ArrayList_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:530:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:200:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:201:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ArrayList.c:201:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def628]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c: scope_hint: In function ‘BufferPool_Lock’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:57:17: warning[-Wanalyzer-use-after-free]: use after ‘BufferPool_Free’ of ‘pool’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def629]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c: scope_hint: In function ‘BufferPool_Take’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:340:17: warning[-Wanalyzer-mismatching-deallocation]: ‘buffer’ should have been deallocated with ‘free’ but was deallocated with ‘winpr_aligned_free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:22: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:123:83: note: in definition of macro ‘MoveMemory’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def630]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:342:17: warning[-Wanalyzer-mismatching-deallocation]: ‘buffer’ should have been deallocated with ‘winpr_aligned_free’ but was deallocated with ‘free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:530:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def632]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c: scope_hint: In function ‘BufferPool_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/BufferPool.c:530:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pool’ should have been deallocated with ‘free’ but was deallocated with ‘BufferPool_Free’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def633]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/CountdownEvent.c: scope_hint: In function ‘CountdownEvent_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/CountdownEvent.c:196:9: warning[-Wanalyzer-mismatching-deallocation]: ‘countdown’ should have been deallocated with ‘free’ but was deallocated with ‘CountdownEvent_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def634]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/CountdownEvent.c: scope_hint: In function ‘CountdownEvent_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/CountdownEvent.c:207:15: warning[-Wanalyzer-use-after-free]: use after ‘CountdownEvent_Free’ of ‘countdown’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def635]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/HashTable.c: scope_hint: In function ‘HashTable_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/HashTable.c:787:9: warning[-Wanalyzer-mismatching-deallocation]: ‘table’ should have been deallocated with ‘free’ but was deallocated with ‘HashTable_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def636]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/HashTable.c: scope_hint: In function ‘HashTable_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/HashTable.c:800:18: warning[-Wanalyzer-use-after-free]: use after ‘HashTable_Free’ of ‘table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def637]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ListDictionary.c: scope_hint: In function ‘ListDictionary_GetKeys’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ListDictionary.c:174:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pKeys’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ListDictionary.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/ListDictionary.c:133:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def638]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/MessageQueue.c: scope_hint: In function ‘MessageQueue_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/MessageQueue.c:266:9: warning[-Wanalyzer-mismatching-deallocation]: ‘queue’ should have been deallocated with ‘free’ but was deallocated with ‘MessageQueue_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def639]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/MessageQueue.c: scope_hint: In function ‘MessageQueue_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/MessageQueue.c:276:18: warning[-Wanalyzer-use-after-free]: use after ‘MessageQueue_Free’ of ‘queue’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def640]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/PubSub.c: scope_hint: In function ‘PubSub_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/PubSub.c:251:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pubSub’ should have been deallocated with ‘free’ but was deallocated with ‘PubSub_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def641]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/PubSub.c: scope_hint: In function ‘PubSub_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/PubSub.c:260:27: warning[-Wanalyzer-use-after-free]: use after ‘PubSub_Free’ of ‘pubSub’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def642]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Queue.c: scope_hint: In function ‘Queue_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Queue.c:331:9: warning[-Wanalyzer-mismatching-deallocation]: ‘queue’ should have been deallocated with ‘free’ but was deallocated with ‘Queue_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def643]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Queue.c: scope_hint: In function ‘Queue_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Queue.c:341:18: warning[-Wanalyzer-use-after-free]: use after ‘Queue_Free’ of ‘queue’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def644]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Stack.c: scope_hint: In function ‘Stack_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Stack.c:237:9: warning[-Wanalyzer-mismatching-deallocation]: ‘stack’ should have been deallocated with ‘free’ but was deallocated with ‘Stack_Free’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def645]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Stack.c: scope_hint: In function ‘Stack_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/Stack.c:246:26: warning[-Wanalyzer-use-after-free]: use after ‘Stack_Free’ of ‘stack’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def646]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c: scope_hint: In function ‘StreamPool_Lock’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:51:17: warning[-Wanalyzer-use-after-free]: use after ‘StreamPool_Free’ of ‘pool’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/collections.h:30: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:25: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:73:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:50:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:378:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:73:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:73:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def648]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c: scope_hint: In function ‘StreamPool_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:378:9: warning[-Wanalyzer-mismatching-deallocation]: ‘pool’ should have been deallocated with ‘free’ but was deallocated with ‘StreamPool_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/collections/StreamPool.c:73:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c: scope_hint: In function ‘IniFile_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:328:16: warning[-Wanalyzer-malloc-leak]: leak of ‘IniFile_New()’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:21: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def650]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c: scope_hint: In function ‘IniFile_SetFilename’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:495:17: warning[-Wanalyzer-use-after-free]: use after ‘IniFile_Free’ of ‘ini’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c: scope_hint: In function ‘IniFile_New’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:806:12: warning[-Wanalyzer-malloc-leak]: leak of ‘IniFile_New()’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def652]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:834:9: warning[-Wanalyzer-mismatching-deallocation]: ‘ini’ should have been deallocated with ‘free’ but was deallocated with ‘IniFile_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def653]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c: scope_hint: In function ‘IniFile_Clone’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:856:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:91:9: note: in expansion of macro ‘WINPR_ASSERT’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:883:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-762): [#def655]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:883:9: warning[-Wanalyzer-mismatching-deallocation]: ‘IniFile_New()’ should have been deallocated with ‘free’ but was deallocated with ‘IniFile_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:326:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/ini.c:494:9: note: in expansion of macro ‘WINPR_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/sam.c: scope_hint: In function ‘SamFreeEntry’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/sam.c:268:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def657]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/Appender.c: scope_hint: In function ‘WLog_Appender_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/Appender.c:29:21: warning[-Wanalyzer-use-after-free]: use after ‘WLog_Appender_Free’ of ‘appender’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/BinaryAppender.c: scope_hint: In function ‘WLog_BinaryAppender_WriteMessage’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/BinaryAppender.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘Stream_New(0, MessageLength)’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/BinaryAppender.c:29: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/BinaryAppender.c:26: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:852:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:853:17: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/assert.h:42:23: note: in definition of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/stream.h:854:17: note: in expansion of macro ‘WINPR_ASSERT’
Error: CPPCHECK_WARNING (CWE-562): [#def659]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/CallbackAppender.c:50: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def660]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/CallbackAppender.c:70: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def661]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/CallbackAppender.c:89: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def662]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/CallbackAppender.c:108: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def663]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/ConsoleAppender.c:62: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def664]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/FileAppender.c:144: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def665]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/UdpAppender.c:100: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def666]
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c: scope_hint: In function ‘WLog_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:923:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*log.Name’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:105:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/crt.h:28: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:27: included_from: Included from here.
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/include/winpr/winpr.h:79:59: note: in definition of macro ‘WINPR_NORETURN’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:105:9: note: in expansion of macro ‘WINPR_ASSERT’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c: scope_hint: In function ‘WLog_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c: scope_hint: In function ‘WLog_Free’
freerdp-3.9.0-build/FreeRDP-3.9.0/winpr/libwinpr/utils/wlog/wlog.c:99:9: note: in expansion of macro ‘WINPR_ASSERT’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-240.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | freerdp-3.9.0-1.fc42 |
store-results-to | /tmp/tmpsk0gh83m/freerdp-3.9.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:06:41 |
time-finished | 2024-11-13 00:16:14 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsk0gh83m/freerdp-3.9.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsk0gh83m/freerdp-3.9.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |