mirror of
https://github.com/reactos/reactos.git
synced 2025-05-29 14:08:22 +00:00
[AFD]
- Fix packet size overflow check svn path=/trunk/; revision=52195
This commit is contained in:
parent
a0c90088eb
commit
f855ea9bdb
1 changed files with 1 additions and 2 deletions
|
@ -328,8 +328,7 @@ AfdConnectedSocketWriteData(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
|
||||
if (SpaceAvail < SendReq->BufferArray[i].len)
|
||||
{
|
||||
if (FCB->Send.BytesUsed + TotalBytesCopied +
|
||||
SendReq->BufferArray[i].len > FCB->Send.Size)
|
||||
if (TotalBytesCopied + SendReq->BufferArray[i].len > FCB->Send.Size)
|
||||
{
|
||||
UnlockBuffers( SendReq->BufferArray, SendReq->BufferCount, FALSE );
|
||||
|
||||
|
|
Loading…
Reference in a new issue