summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2021-01-07 13:43:13 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-07 13:43:13 +0100
commita7fdba7889b4e570b659b15710186745b1033ef8 (patch)
tree1bad79c8f7f0c651e3ed1a06055d3f4a19364140
parente15386da5d684b1d64204db6b33fbf613cbaad50 (diff)
downloademacs-a7fdba7889b4e570b659b15710186745b1033ef8.tar.gz
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).
-rw-r--r--lisp/net/socks.el1
1 files changed, 1 insertions, 0 deletions
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 @@
)
)
(process-put proc 'socks-state socks-state-authenticated)
+ (process-put proc 'socks-scratch "")
(set-process-filter proc #'socks-filter)))
proc)))