Fixed invalid seek size in patrial pdu parse case
This commit is contained in:
parent
21320d973c
commit
2a379bfe09
@ -1393,7 +1393,7 @@ static int rdp_recv_tpkt_pdu(rdpRdp* rdp, wStream* s)
|
||||
"pduType %s not properly parsed, %" PRIdz
|
||||
" bytes remaining unhandled. Skipping.",
|
||||
pdu_type_to_str(pduType), diff);
|
||||
if (!Stream_SafeSeek(s, pduLength))
|
||||
if (!Stream_SafeSeek(s, pduLength - diff))
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user