emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a7fdba7: Clear socks protocol scratch after authentication


From: Lars Ingebrigtsen
Subject: master a7fdba7: Clear socks protocol scratch after authentication
Date: Thu, 7 Jan 2021 07:43:29 -0500 (EST)

branch: master
commit a7fdba7889b4e570b659b15710186745b1033ef8
Author: F. Jason Park <jp@neverwas.me>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/net/socks.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/net/socks.el b/lisp/net/socks.el
index 0d48fd7..96fafc8 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]