1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

Fixed agent crash in WebRTC

This commit is contained in:
Ylian Saint-Hilaire
2021-07-11 12:20:43 -07:00
parent 5618516cb9
commit a678ff77f0
3 changed files with 4 additions and 4 deletions

View File

@@ -3991,6 +3991,7 @@ ILibTransport_DoneState ILibDuktape_httpStream_webSocket_WriteWebSocketPacket(IL
size_t compressedLen = 0;
char *compressedBuffer = NULL;
if (!ILibMemory_CanaryOK(state)) { return(ILibTransport_DoneState_ERROR); }
buffer = _buffer;
bufferLen = _bufferLen;