mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[AFD]
- Fix a corrupted disconnect timeout pointer being sent to the TDI transport driver svn path=/trunk/; revision=52502
This commit is contained in:
@@ -603,8 +603,6 @@ static
|
||||
NTSTATUS
|
||||
DoDisconnect(PAFD_FCB FCB)
|
||||
{
|
||||
PAFD_DISCONNECT_INFO DisReq;
|
||||
IO_STATUS_BLOCK Iosb;
|
||||
NTSTATUS Status;
|
||||
|
||||
ASSERT(FCB->DisconnectPending);
|
||||
@@ -621,9 +619,9 @@ DoDisconnect(PAFD_FCB FCB)
|
||||
|
||||
Status = TdiDisconnect(&FCB->DisconnectIrp.InFlightRequest,
|
||||
FCB->Connection.Object,
|
||||
&DisReq->Timeout,
|
||||
&FCB->DisconnectTimeout,
|
||||
FCB->DisconnectFlags,
|
||||
&Iosb,
|
||||
&FCB->DisconnectIrp.Iosb,
|
||||
DisconnectComplete,
|
||||
FCB,
|
||||
FCB->ConnectCallInfo,
|
||||
@@ -700,6 +698,7 @@ AfdDisconnect(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||
}
|
||||
|
||||
FCB->DisconnectFlags = Flags;
|
||||
FCB->DisconnectTimeout = DisReq->Timeout;
|
||||
FCB->DisconnectPending = TRUE;
|
||||
|
||||
Status = QueueUserModeIrp(FCB, Irp, FUNCTION_DISCONNECT);
|
||||
|
||||
@@ -184,6 +184,7 @@ typedef struct _AFD_FCB {
|
||||
UINT ConnSeq;
|
||||
USHORT DisconnectFlags;
|
||||
BOOLEAN DisconnectPending;
|
||||
LARGE_INTEGER DisconnectTimeout;
|
||||
PTRANSPORT_ADDRESS LocalAddress, RemoteAddress;
|
||||
PTDI_CONNECTION_INFORMATION AddressFrom, ConnectCallInfo, ConnectReturnInfo;
|
||||
AFD_TDI_OBJECT AddressFile, Connection;
|
||||
|
||||
Reference in New Issue
Block a user