mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-02-16 10:30:59 +00:00
Fix double-free if unencrypted packet is received on encrypted stream
This commit is contained in:
@@ -768,6 +768,7 @@ static void controlReceiveThreadFunc(void* context) {
|
||||
// What do we do here???
|
||||
LC_ASSERT(false);
|
||||
packetLength = (int)event.packet->dataLength;
|
||||
event.packet->data = NULL;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user