Skip to content

Commit

Permalink
Fix CVE-2024-7592 for Python, take two.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumol committed Sep 9, 2024
1 parent 24221b4 commit 7832120
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/python/CVE-2024-7592.diff
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/src/python/Python-2.7.18/Lib/Cookie.py b/src/python/Python-2.7.18/Lib/Cookie.py
diff --git a/Lib/Cookie.py b/Lib/Cookie.py
index 10823637..a6ba4a92 100644
--- a/src/python/Python-2.7.18/Lib/Cookie.py
+++ b/src/python/Python-2.7.18/Lib/Cookie.py
--- a/Lib/Cookie.py
+++ b/Lib/Cookie.py
@@ -323,9 +323,13 @@ def _quote(str, LegalChars=_LegalChars,
return '"' + _nulljoin( map(_Translator.get, str, str) ) + '"'
# end _quote
Expand Down Expand Up @@ -48,10 +48,10 @@ index 10823637..a6ba4a92 100644
# end _unquote

# The _getdate() routine is used to set the expiration time in
diff --git a/src/python/Python-2.7.18/Lib/test/test_cookie.py b/src/python/Python-2.7.18/Lib/test/test_cookie.py
diff --git a/Lib/test/test_cookie.py b/Lib/test/test_cookie.py
index 40419012..efd2ed3c 100644
--- a/src/python/Python-2.7.18/Lib/test/test_cookie.py
+++ b/src/python/Python-2.7.18/Lib/test/test_cookie.py
--- a/Lib/test/test_cookie.py
+++ b/Lib/test/test_cookie.py
@@ -1,6 +1,7 @@
# Simple test suite for Cookie.py

Expand Down

0 comments on commit 7832120

Please sign in to comment.