Roundup Robot added the comment:
New changeset dc8a11c16021 by Serhiy Storchaka in branch '2.7':
Issue #9669: Protect re against infinite loops on zero-width matching in
http://hg.python.org/cpython/rev/dc8a11c16021
New changeset d40afd489b6a by Serhiy Storchaka in branch '3.2':
Issue #9669:
Serhiy Storchaka added the comment:
Committed with a test. Thank you, Matthew.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
Serhiy Storchaka added the comment:
Can you please provide the tests?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
versions: +Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
components: +Regular Expressions
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
___
Matthew Barnett added the comment:
I've attached my attempt at a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28744/issue9669.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +mrabarnett
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +ezio.melotti, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9669
___
___
New submission from Armin Rigo ar...@users.sourceforge.net:
The attached example shows a case where the '_sre' module goes into an
instantaneous infinite memory leak. The bug (and probably the fix too) is
related to empty matches in the MIN_UNTIL operator (+?, *?). It looks very
similar to
11 matches
Mail list logo