Fix double-free if unencrypted packet is received on encrypted stream
This commit is contained in:
parent
3b9d8a3176
commit
5820cc2048
1 changed files with 1 additions and 0 deletions
|
|
@ -768,6 +768,7 @@ static void controlReceiveThreadFunc(void* context) {
|
||||||
// What do we do here???
|
// What do we do here???
|
||||||
LC_ASSERT(false);
|
LC_ASSERT(false);
|
||||||
packetLength = (int)event.packet->dataLength;
|
packetLength = (int)event.packet->dataLength;
|
||||||
|
event.packet->data = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue