Merge pull request #12166 from akallabeth/scard-terminate

[channels,smartcard] revert 649f7deee4
This commit is contained in:
akallabeth
2026-01-21 13:35:08 +01:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@@ -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)
{

View File

@@ -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))