mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-02 15:56:02 +00:00
Fix stack corruption when creating the server challenge response
This commit is contained in:
parent
32e4e48de3
commit
8c22abbab1
@ -379,7 +379,7 @@ int gs_pair(PSERVER_DATA server, char* pin) {
|
||||
char challenge_response[16 + 256 + 16];
|
||||
char challenge_response_hash[32];
|
||||
char challenge_response_hash_enc[32];
|
||||
char challenge_response_hex[33];
|
||||
char challenge_response_hex[65];
|
||||
memcpy(challenge_response, challenge_response_data + 20, 16);
|
||||
memcpy(challenge_response + 16, cert->signature->data, 256);
|
||||
memcpy(challenge_response + 16 + 256, client_secret_data, 16);
|
||||
|
Loading…
x
Reference in New Issue
Block a user