Merge pull request #10746 from akallabeth/fastpath-unlock

[core,fastpath] fix error unlock
This commit is contained in:
akallabeth 2024-10-15 23:00:49 +02:00 committed by GitHub
commit 387f0efd24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1068,7 +1068,7 @@ BOOL fastpath_send_multiple_input_pdu(rdpFastPath* fastpath, wStream* s, size_t
const size_t sec_bytes = fastpath_get_sec_bytes(fastpath->rdp);
if (sec_bytes + 3ULL > length)
goto fail;
goto unlock;
BYTE* fpInputEvents = Stream_PointerAs(s, BYTE) + sec_bytes;
const UINT16 fpInputEvents_length = (UINT16)length - 3 - sec_bytes;