mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[AFD]
- Fix packet size overflow check svn path=/trunk/; revision=52195
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user