From 13054387b49d90f6f0a8f431a72bb9006bda5813 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 14 Mar 2026 07:38:40 +0000 Subject: Fix a crash caused by weirdly casting a pointer to an I/O handler. --- modules/haproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/haproxy.cpp') diff --git a/modules/haproxy.cpp b/modules/haproxy.cpp index 2c16094d3..20159b89a 100644 --- a/modules/haproxy.cpp +++ b/modules/haproxy.cpp @@ -218,7 +218,7 @@ private: cert->unknownsigner = true; // Extract the user for this socket and set their certificate. - auto* luser = reinterpret_cast(sock)->user; + auto* luser = sock->GetData()->user; sslapi->SetCertificate(luser, cert); return true; } -- cgit v1.3.1-10-gc9f91