Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
python3-setuptools
CVE-2022-40897-ReDos.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2022-40897-ReDos.patch of Package python3-setuptools
Index: setuptools-44.1.1/setuptools/package_index.py =================================================================== --- setuptools-44.1.1.orig/setuptools/package_index.py +++ setuptools-44.1.1/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