Fixed stream get position.
This commit is contained in:
parent
166bdf018c
commit
766a66a7c2
@ -560,7 +560,7 @@ static BOOL TsProxyCreateTunnelReadResponse(rdpTsg* tsg, RPC_PDU* pdu,
|
||||
|
||||
/* 4-byte alignment */
|
||||
{
|
||||
UINT32 offset = Stream_Pointer(pdu->s);
|
||||
UINT32 offset = Stream_GetPosition(pdu->s);
|
||||
|
||||
if (!Stream_SafeSeek(pdu->s, rpc_offset_align(&offset, 4)))
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user