Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-socks for 
openSUSE:Factory checked in at 2024-11-04 22:43:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-socks (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-socks.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-socks"

Mon Nov  4 22:43:06 2024 rev:10 rq:1221061 version:2.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-socks/python-python-socks.changes  
2024-10-01 17:20:40.359877737 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-socks.new.2020/python-python-socks.changes
        2024-11-04 22:43:18.734248161 +0100
@@ -1,0 +2,6 @@
+Mon Oct 28 17:01:58 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.5.3:
+  * Fix socks5 reply reading
+
+-------------------------------------------------------------------

Old:
----
  python-socks-2.5.2.tar.gz

New:
----
  python-socks-2.5.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-socks.spec ++++++
--- /var/tmp/diff_new_pack.aImtjt/_old  2024-11-04 22:43:19.182266878 +0100
+++ /var/tmp/diff_new_pack.aImtjt/_new  2024-11-04 22:43:19.186267044 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-python-socks%{psuffix}
-Version:        2.5.2
+Version:        2.5.3
 Release:        0
 Summary:        Core proxy client functionality for Python
 License:        Apache-2.0

++++++ python-socks-2.5.2.tar.gz -> python-socks-2.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-socks-2.5.2/python_socks/_connectors/socks5_async.py 
new/python-socks-2.5.3/python_socks/_connectors/socks5_async.py
--- old/python-socks-2.5.2/python_socks/_connectors/socks5_async.py     
2024-09-25 09:28:33.000000000 +0200
+++ new/python-socks-2.5.3/python_socks/_connectors/socks5_async.py     
2024-10-06 07:34:46.000000000 +0200
@@ -86,7 +86,8 @@
         elif addr_type == socks5.AddressType.IPV6:
             data += await stream.read_exact(18)
         elif addr_type == socks5.AddressType.DOMAIN:
-            host_len, *_ = await stream.read_exact(1)
+            data += await stream.read_exact(1)
+            host_len = data[-1]
             data += await stream.read_exact(host_len + 2)
 
         return data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-socks-2.5.2/python_socks/_connectors/socks5_sync.py 
new/python-socks-2.5.3/python_socks/_connectors/socks5_sync.py
--- old/python-socks-2.5.2/python_socks/_connectors/socks5_sync.py      
2024-09-25 09:28:33.000000000 +0200
+++ new/python-socks-2.5.3/python_socks/_connectors/socks5_sync.py      
2024-10-06 07:34:46.000000000 +0200
@@ -77,7 +77,8 @@
         elif addr_type == socks5.AddressType.IPV6:
             data += stream.read_exact(18)
         elif addr_type == socks5.AddressType.DOMAIN:
-            host_len, *_ = stream.read_exact(1)
+            data += stream.read_exact(1)
+            host_len = data[-1]
             data += stream.read_exact(host_len + 2)
 
         return data
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-socks-2.5.2/python_socks/_version.py 
new/python-socks-2.5.3/python_socks/_version.py
--- old/python-socks-2.5.2/python_socks/_version.py     2024-09-25 
09:28:33.000000000 +0200
+++ new/python-socks-2.5.3/python_socks/_version.py     2024-10-06 
07:34:46.000000000 +0200
@@ -1,2 +1,2 @@
 __title__ = 'python-socks'
-__version__ = '2.5.2'
+__version__ = '2.5.3'

Reply via email to