Skip to content
Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Using suggestion from bug tracker messages. Regex has been changed which should Fix the issue of vulnerable regex which can be exploited. Test Result is Working as intended
Comment thread
Pixmew marked this conversation as resolved.
Resolved
2 changes: 1 addition & 1 deletion Tools/msi/purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from urllib.request import *

VERSION_RE = re.compile(r'(\d+\.\d+\.\d+)(\w+\d+)?$')
VERSION_RE = re.compile(r'(\d+\.\d+\.\d+)([A-Za-z_]+\d+)$')
Comment thread
Pixmew marked this conversation as resolved.
Resolved

try:
m = VERSION_RE.match(sys.argv[1])
Expand Down