Solutionunvalidated
The fix is to move `socks5_resolve_local` from a local variable into the persistent `socks_state` struct. Tension: so the CONNECT_SOCKS_INIT decision persists across multiple async invocations. Outcome: The actual CVE patch added `bool socks5_resolve_local` to the socks_state struct.
76f9d92b-a6da-4c8a-b75d-929ab6c9d5f2
The fix is to move socks5_resolve_local from a local variable into the persistent socks_state struct. Tension: so the CONNECT_SOCKS_INIT decision persists across multiple async invocations. Outcome: The actual CVE patch added bool socks5_resolve_local to the socks_state struct.