mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Merge pull request #12166 from akallabeth/scard-terminate
[channels,smartcard] revert 649f7deee4
This commit is contained in:
@@ -227,7 +227,6 @@ void smartcard_context_free(void* pCtx)
|
||||
/* cancel blocking calls like SCardGetStatusChange */
|
||||
WINPR_ASSERT(pContext->smartcard);
|
||||
smartcard_call_cancel_context(pContext->smartcard->callctx, pContext->hContext);
|
||||
smartcard_call_context_signal_stop(pContext->smartcard->callctx, FALSE);
|
||||
|
||||
if (pContext->IrpQueue)
|
||||
{
|
||||
|
||||
@@ -1962,8 +1962,7 @@ static BOOL TsProxyAuthorizeTunnelReadResponse(rdpTsg* tsg, const RPC_PDU* pdu)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
UINT32 PacketResponsePtr = 0;
|
||||
if (!tsg_ndr_pointer_read(log, pdu->s, &index, &PacketResponsePtr, TRUE))
|
||||
if (!tsg_ndr_pointer_read(log, pdu->s, &index, NULL, TRUE))
|
||||
goto fail;
|
||||
|
||||
if (!Stream_CheckAndLogRequiredLengthWLog(log, pdu->s, 8))
|
||||
|
||||
Reference in New Issue
Block a user