From c9d1e371d2550c1e8e9b5ec32fded604890d57dc Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 21 Jan 2026 13:18:21 +0100 Subject: [PATCH 1/2] [gateway,tsg] fix unused variable warning --- libfreerdp/core/gateway/tsg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libfreerdp/core/gateway/tsg.c b/libfreerdp/core/gateway/tsg.c index 76817289d..b3450762c 100644 --- a/libfreerdp/core/gateway/tsg.c +++ b/libfreerdp/core/gateway/tsg.c @@ -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)) From 2e6af8159d56e386f856956d6224611bf572dba8 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 21 Jan 2026 13:22:36 +0100 Subject: [PATCH 2/2] Revert "Fix dead lock in smartcard" This reverts commit 649f7deee4e32ecedf0dcdfe571e54134b5be81e. --- channels/smartcard/client/smartcard_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/smartcard/client/smartcard_main.c b/channels/smartcard/client/smartcard_main.c index 088614810..fb9f4928d 100644 --- a/channels/smartcard/client/smartcard_main.c +++ b/channels/smartcard/client/smartcard_main.c @@ -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) {