>From 81b83735f97383b4ff863a051ab695a321d3fd1c Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Thu, 7 Jan 2021 01:13:19 -0800 Subject: [PATCH 2/2] Clear socks protocol scratch after authentication * lisp/net/socks.el (socks-open-connection): Fix incomplete patch titled "Append incremental message segments in socks-filter," which addressed chunk ordering but neglected to zero out the work area following successful username/password authentication (bug#45162). Copyright-paperwork-exempt: yes --- lisp/net/socks.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/net/socks.el b/lisp/net/socks.el index 0d48fd7e05a..96fafc826b8 100644 --- a/lisp/net/socks.el +++ b/lisp/net/socks.el @@ -385,6 +385,7 @@ socks-open-connection ) ) (process-put proc 'socks-state socks-state-authenticated) + (process-put proc 'socks-scratch "") (set-process-filter proc #'socks-filter))) proc))) -- 2.29.2