Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
python-setuptools.35197
CVE-2022-40897-ReDos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2022-40897-ReDos.patch of Package python-setuptools.35197
Index: setuptools-40.5.0/setuptools/package_index.py =================================================================== --- setuptools-40.5.0.orig/setuptools/package_index.py +++ setuptools-40.5.0/setuptools/package_index.py @@ -214,7 +214,7 @@ def unique_values(func): return wrapper -REL = re.compile(r"""<([^>]*\srel\s*=\s*['"]?([^'">]+)[^>]*)>""", re.I) +REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I) # this line is here to fix emacs' cruddy broken syntax highlighting
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor