[core,fuzzer] fix testcases

rdp_recv_save_session_info is a client side only function, remove from
server side tests
This commit is contained in:
Armin Novak 2024-04-24 14:15:07 +02:00 committed by akallabeth
parent b757276034
commit c2e899b6df
2 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ static BOOL test_client(const uint8_t* Data, size_t Size)
}
fail:
freerdp_client_context_free(context);
return TRUE;
}
int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size)

View File

@ -77,7 +77,6 @@ static BOOL test_server(const uint8_t* Data, size_t Size)
rdp_recv_heartbeat_packet(rdp, s);
rdp->state = CONNECTION_STATE_SECURE_SETTINGS_EXCHANGE;
rdp_recv_client_info(rdp, s);
rdp_recv_save_session_info(rdp, s);
}
{
freerdp_is_valid_mcs_create_request(Data, Size);
@ -99,6 +98,7 @@ static BOOL test_server(const uint8_t* Data, size_t Size)
fail:
freerdp_peer_context_free(client);
free(client);
return TRUE;
}
int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size)