[New-bugs-announce] [issue1217] infinite loop in re module
Andres Riancho
report at bugs.python.org
Thu Sep 27 21:18:55 CEST 2007
New submission from
Andres Riancho
:
dz0 at dz0cybsec:/tmp$ python
Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> re.findall( '.*://(.*):(.*)@.*' , file('a.txt').read() )
===!infinite loop here!===
===!execute "kill pid"!===
Terminated
dz0 at dz0cybsec:/tmp$
dz0 at dz0cybsec:/tmp$ dpkg -l python
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version
Description
+++-=================================-=================================-==================================================================================
ii python 2.4.4-6
An interactive high-level object-oriented language (default version)
dz0 at dz0cybsec:/tmp$
dz0 at dz0cybsec:/tmp$ uname -a
Linux dz0cybsec 2.6.21-2-k7 #1 SMP Wed Jul 11 04:29:08 UTC 2007 i686
GNU/Linux
dz0 at dz0cybsec:/tmp$
See attached a.txt file.
----------
components: Regular Expressions
files: a.txt
messages: 56178
nosy: andresriancho
severity: normal
status: open
title: infinite loop in re module
type: resource usage
versions: Python 2.4
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1217>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: a.txt
Url: http://mail.python.org/pipermail/new-bugs-announce/attachments/20070927/fd7c8e91/attachment-0001.txt
More information about the New-bugs-announce
mailing list