Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestBufferPool.c:21:22: warning[-Wanalyzer-malloc-leak]: leak of ‘BufferPool_New(1, -1, 16)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestBufferPool.c:17:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestBufferPool.c:18:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestBufferPool.c:21:22: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestBufferPool.c:21:22: danger: ‘BufferPool_New(1, -1, 16)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   19|   		return -1;
#   20|   
#   21|-> 	Buffers[0] = BufferPool_Take(pool, DefaultSize);
#   22|   	Buffers[1] = BufferPool_Take(pool, DefaultSize);
#   23|   	Buffers[2] = BufferPool_Take(pool, 2048);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:25:14: warning[-Wanalyzer-malloc-leak]: leak of ‘HashTable_New(1)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:20:17: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:22:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:25:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:25:14: danger: ‘HashTable_New(1)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   23|   		return -1;
#   24|   
#   25|-> 	if (!HashTable_Insert(table, key1, val1))
#   26|   		goto fail;
#   27|   	if (!HashTable_Insert(table, key2, val2))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:160:14: warning[-Wanalyzer-malloc-leak]: leak of ‘HashTable_New(1)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:155:29: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:157:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:160:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:160:14: danger: ‘HashTable_New(1)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  158|   		return -1;
#  159|   
#  160|-> 	if (!HashTable_SetupForStringData(table, TRUE))
#  161|   		goto fail;
#  162|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:380:14: warning[-Wanalyzer-malloc-leak]: leak of ‘foreachData.table’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:376:37: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:377:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:380:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestHashTable.c:380:14: danger: ‘foreachData.table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  378|   		return -1;
#  379|   
#  380|-> 	if (!HashTable_SetupForStringData(table, TRUE))
#  381|   		goto out;
#  382|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: warning[-Wanalyzer-malloc-leak]: leak of ‘MessagePipe_New()’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: danger: ‘MessagePipe_New()’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   76|   
#   77|   	if (!(ClientThread =
#   78|-> 	          CreateThread(NULL, 0, message_echo_pipe_client_thread, (void*)EchoPipe, 0, NULL)))
#   79|   	{
#   80|   		printf("failed to create client thread\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_echo_pipe_client_thread,  MessagePipe_New(), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: danger: ‘CreateThread(0, 0, &message_echo_pipe_client_thread,  MessagePipe_New(), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   83|   
#   84|   	if (!(ServerThread =
#   85|-> 	          CreateThread(NULL, 0, message_echo_pipe_server_thread, (void*)EchoPipe, 0, NULL)))
#   86|   	{
#   87|   		printf("failed to create server thread\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_echo_pipe_client_thread,  MessagePipe_New(), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:84:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: danger: ‘CreateThread(0, 0, &message_echo_pipe_client_thread,  MessagePipe_New(), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#   89|   	}
#   90|   
#   91|-> 	(void)WaitForSingleObject(ClientThread, INFINITE);
#   92|   	(void)WaitForSingleObject(ServerThread, INFINITE);
#   93|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_echo_pipe_server_thread,  MessagePipe_New(), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:84:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: danger: ‘CreateThread(0, 0, &message_echo_pipe_server_thread,  MessagePipe_New(), 0, 0)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
#   89|   	}
#   90|   
#   91|-> 	(void)WaitForSingleObject(ClientThread, INFINITE);
#   92|   	(void)WaitForSingleObject(ServerThread, INFINITE);
#   93|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:92:15: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_echo_pipe_server_thread,  MessagePipe_New(), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:84:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:91:15: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:92:15: danger: ‘CreateThread(0, 0, &message_echo_pipe_server_thread,  MessagePipe_New(), 0, 0)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
#   90|   
#   91|   	(void)WaitForSingleObject(ClientThread, INFINITE);
#   92|-> 	(void)WaitForSingleObject(ServerThread, INFINITE);
#   93|   
#   94|   	ret = 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:98:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ClientThread’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:84:12: branch_true: following ‘true’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:87:17: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:97:12: branch_true: following ‘true’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:98:17: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:98:17: danger: ‘ClientThread’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
#   96|   out:
#   97|   	if (EchoPipe)
#   98|-> 		MessagePipe_Free(EchoPipe);
#   99|   	if (ClientThread)
#  100|   		(void)CloseHandle(ClientThread);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:100:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ClientThread’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:71:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:78:19: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:77:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:85:19: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:84:12: branch_true: following ‘true’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:87:17: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:97:12: branch_true: following ‘true’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:98:17: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:99:12: branch_true: following ‘true’ branch (when ‘ClientThread’ is non-NULL)...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:100:23: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessagePipe.c:100:23: danger: ‘ClientThread’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
#   98|   		MessagePipe_Free(EchoPipe);
#   99|   	if (ClientThread)
#  100|-> 		(void)CloseHandle(ClientThread);
#  101|   	if (ServerThread)
#  102|   		(void)CloseHandle(ServerThread);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: warning[-Wanalyzer-malloc-leak]: leak of ‘MessageQueue_New(0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:23: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: danger: ‘MessageQueue_New(0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   37|   	}
#   38|   
#   39|-> 	if (!(thread = CreateThread(NULL, 0, message_queue_consumer_thread, (void*)queue, 0, NULL)))
#   40|   	{
#   41|   		printf("failed to create thread\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   44|   	}
#   45|   
#   46|-> 	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
#   44|   	}
#   45|   
#   46|-> 	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
#   44|   	}
#   45|   
#   46|-> 	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:66: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
#   44|   	}
#   45|   
#   46|-> 	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
#   44|   	}
#   45|   
#   46|-> 	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
#   45|   
#   46|   	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|-> 	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||
#   49|   	    WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
#   46|   	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|-> 	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||
#   49|   	    WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0)
#   50|   		return -1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:66: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:66: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:66: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
#   46|   	if (!MessageQueue_Post(queue, NULL, 123, NULL, NULL) ||
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|-> 	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||
#   49|   	    WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0)
#   50|   		return -1;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:49:13: warning[-Wanalyzer-malloc-leak]: leak of ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:33:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:24: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:39:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:47:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:48:66: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:46:13: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:49:13: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestMessageQueue.c:49:13: danger: ‘CreateThread(0, 0, &message_queue_consumer_thread,  MessageQueue_New(0), 0, 0)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
#   47|   	    !MessageQueue_Post(queue, NULL, 456, NULL, NULL) ||
#   48|   	    !MessageQueue_Post(queue, NULL, 789, NULL, NULL) || !MessageQueue_PostQuit(queue, 0) ||
#   49|-> 	    WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0)
#   50|   		return -1;
#   51|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_New(1, 16384)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:16:29: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: danger: ‘StreamPool_New(1, 16384)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   16|   	wStreamPool* pool = StreamPool_New(TRUE, BUFFER_SIZE);
#   17|   
#   18|-> 	s[0] = StreamPool_Take(pool, 0);
#   19|   	s[1] = StreamPool_Take(pool, 0);
#   20|   	s[2] = StreamPool_Take(pool, 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:19:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:19:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#   17|   
#   18|   	s[0] = StreamPool_Take(pool, 0);
#   19|-> 	s[1] = StreamPool_Take(pool, 0);
#   20|   	s[2] = StreamPool_Take(pool, 0);
#   21|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:20:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:20:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#   18|   	s[0] = StreamPool_Take(pool, 0);
#   19|   	s[1] = StreamPool_Take(pool, 0);
#   20|-> 	s[2] = StreamPool_Take(pool, 0);
#   21|   
#   22|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:22:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:22:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#   20|   	s[2] = StreamPool_Take(pool, 0);
#   21|   
#   22|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   23|   
#   24|   	Stream_Release(s[0]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:24:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:19:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:24:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#   22|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   23|   
#   24|-> 	Stream_Release(s[0]);
#   25|   	Stream_Release(s[1]);
#   26|   	Stream_Release(s[2]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:25:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:18:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:25:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
#   23|   
#   24|   	Stream_Release(s[0]);
#   25|-> 	Stream_Release(s[1]);
#   26|   	Stream_Release(s[2]);
#   27|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:26:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:19:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:26:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
#   24|   	Stream_Release(s[0]);
#   25|   	Stream_Release(s[1]);
#   26|-> 	Stream_Release(s[2]);
#   27|   
#   28|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:28:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:20:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:28:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
#   26|   	Stream_Release(s[2]);
#   27|   
#   28|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   29|   
#   30|   	s[3] = StreamPool_Take(pool, 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:31:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:30:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:31:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
#   29|   
#   30|   	s[3] = StreamPool_Take(pool, 0);
#   31|-> 	s[4] = StreamPool_Take(pool, 0);
#   32|   
#   33|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:33:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:30:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:33:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
#   31|   	s[4] = StreamPool_Take(pool, 0);
#   32|   
#   33|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   34|   
#   35|   	Stream_Release(s[3]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:35:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:31:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:35:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
#   33|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   34|   
#   35|-> 	Stream_Release(s[3]);
#   36|   	Stream_Release(s[4]);
#   37|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:36:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:30:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:36:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
#   34|   
#   35|   	Stream_Release(s[3]);
#   36|-> 	Stream_Release(s[4]);
#   37|   
#   38|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:38:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:31:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:38:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
#   36|   	Stream_Release(s[4]);
#   37|   
#   38|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   39|   
#   40|   	s[2] = StreamPool_Take(pool, 0);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:41:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:40:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:41:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
#   39|   
#   40|   	s[2] = StreamPool_Take(pool, 0);
#   41|-> 	s[3] = StreamPool_Take(pool, 0);
#   42|   	s[4] = StreamPool_Take(pool, 0);
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:42:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:40:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:42:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
#   40|   	s[2] = StreamPool_Take(pool, 0);
#   41|   	s[3] = StreamPool_Take(pool, 0);
#   42|-> 	s[4] = StreamPool_Take(pool, 0);
#   43|   
#   44|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:44:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:40:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:44:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
#   42|   	s[4] = StreamPool_Take(pool, 0);
#   43|   
#   44|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   45|   
#   46|   	Stream_AddRef(s[2]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:46:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:40:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:46:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
#   44|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   45|   
#   46|-> 	Stream_AddRef(s[2]);
#   47|   
#   48|   	Stream_AddRef(s[3]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:48:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:41:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:48:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
#   46|   	Stream_AddRef(s[2]);
#   47|   
#   48|-> 	Stream_AddRef(s[3]);
#   49|   	Stream_AddRef(s[3]);
#   50|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:49:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:42:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:49:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
#   47|   
#   48|   	Stream_AddRef(s[3]);
#   49|-> 	Stream_AddRef(s[3]);
#   50|   
#   51|   	Stream_AddRef(s[4]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:51:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:42:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:51:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
#   49|   	Stream_AddRef(s[3]);
#   50|   
#   51|-> 	Stream_AddRef(s[4]);
#   52|   	Stream_AddRef(s[4]);
#   53|   	Stream_AddRef(s[4]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:70:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:69:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:70:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
#   68|   
#   69|   	s[2] = StreamPool_Take(pool, 0);
#   70|-> 	s[3] = StreamPool_Take(pool, 0);
#   71|   	s[4] = StreamPool_Take(pool, 0);
#   72|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:71:16: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:69:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:71:16: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
#   69|   	s[2] = StreamPool_Take(pool, 0);
#   70|   	s[3] = StreamPool_Take(pool, 0);
#   71|-> 	s[4] = StreamPool_Take(pool, 0);
#   72|   
#   73|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:69:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:73:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
#   71|   	s[4] = StreamPool_Take(pool, 0);
#   72|   
#   73|-> 	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   74|   
#   75|   	Stream_Release(s[2]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:75:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:70:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:75:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
#   73|   	printf("%s\n", StreamPool_GetStatistics(pool, buffer, sizeof(buffer)));
#   74|   
#   75|-> 	Stream_Release(s[2]);
#   76|   	Stream_Release(s[3]);
#   77|   	Stream_Release(s[4]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:76:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:69:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:76:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
#   74|   
#   75|   	Stream_Release(s[2]);
#   76|-> 	Stream_Release(s[3]);
#   77|   	Stream_Release(s[4]);
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:70:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:77:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
#   75|   	Stream_Release(s[2]);
#   76|   	Stream_Release(s[3]);
#   77|-> 	Stream_Release(s[4]);
#   78|   
#   79|   	StreamPool_Free(pool);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:79:9: warning[-Wanalyzer-malloc-leak]: leak of ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:71:16: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestStreamPool.c:79:9: danger: ‘StreamPool_Take(StreamPool_New(1, 16384), 0)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
#   77|   	Stream_Release(s[4]);
#   78|   
#   79|-> 	StreamPool_Free(pool);
#   80|   
#   81|   	return 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(2)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: danger: ‘GetKnownPath(2)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#   25|   	}
#   26|   
#   27|-> 	root = WLog_GetRoot();
#   28|   
#   29|   	WLog_SetLogAppenderType(root, WLOG_APPENDER_BINARY);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:29:9: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(2)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:29:9: danger: ‘GetKnownPath(2)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#   27|   	root = WLog_GetRoot();
#   28|   
#   29|-> 	WLog_SetLogAppenderType(root, WLOG_APPENDER_BINARY);
#   30|   
#   31|   	appender = WLog_GetLogAppender(root);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:31:20: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(2)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:31:20: danger: ‘GetKnownPath(2)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#   29|   	WLog_SetLogAppenderType(root, WLOG_APPENDER_BINARY);
#   30|   
#   31|-> 	appender = WLog_GetLogAppender(root);
#   32|   	if (!WLog_ConfigureAppender(appender, "outputfilename", "test_w.log"))
#   33|   		goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:32:14: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(2)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:32:14: danger: ‘GetKnownPath(2)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#   30|   
#   31|   	appender = WLog_GetLogAppender(root);
#   32|-> 	if (!WLog_ConfigureAppender(appender, "outputfilename", "test_w.log"))
#   33|   		goto out;
#   34|   	if (!WLog_ConfigureAppender(appender, "outputfilepath", tmp_path))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:34:14: warning[-Wanalyzer-malloc-leak]: leak of ‘GetKnownPath(2)’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:32:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:34:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:34:14: danger: ‘GetKnownPath(2)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
#   32|   	if (!WLog_ConfigureAppender(appender, "outputfilename", "test_w.log"))
#   33|   		goto out;
#   34|-> 	if (!WLog_ConfigureAppender(appender, "outputfilepath", tmp_path))
#   35|   		goto out;
#   36|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:61:17: warning[-Wanalyzer-malloc-leak]: leak of ‘GetCombinedPath(GetKnownPath(2), "test_w.log")’
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:21:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:27:16: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:32:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:34:14: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:34:12: branch_false: following ‘false’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:37:18: branch_false: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:60:26: acquire_memory: allocated here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:60:12: branch_true: following ‘true’ branch...
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:61:17: branch_true: ...to here
FreeRDP-3.16.0/winpr/libwinpr/utils/test/TestWLog.c:61:17: danger: ‘GetCombinedPath(GetKnownPath(2), "test_w.log")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
#   59|   
#   60|   	if ((wlog_file = GetCombinedPath(tmp_path, "test_w.log")))
#   61|-> 		winpr_DeleteFile(wlog_file);
#   62|   
#   63|   	result = 0;

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-219.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namefreerdp-3.16.0-4.fc44
diffbase-store-results-to/tmp/tmpx3s63f14/freerdp-3.16.0-4.fc44.tar.xz
diffbase-time-created2025-10-28 18:01:48
diffbase-time-finished2025-10-28 18:08:56
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpx3s63f14/freerdp-3.16.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpx3s63f14/freerdp-3.16.0-4.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-219.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-namefreerdp-3.16.0-4.fc43
store-results-to/tmp/tmp2u3ms8oc/freerdp-3.16.0-4.fc43.tar.xz
time-created2025-10-28 17:52:32
time-finished2025-10-28 18:00:01
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp2u3ms8oc/freerdp-3.16.0-4.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp2u3ms8oc/freerdp-3.16.0-4.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9