[Python-bugs-list] [ python-Bugs-587875 ] crash on deleting extended slice
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 28 Jul 2002 18:50:09 -0700
Bugs item #587875, was opened at 2002-07-28 21:50
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=587875&group_id=5470
Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Michael Hudson (mwh)
Summary: crash on deleting extended slice
Initial Comment:
If you add the following line to test_types.py:400
del a[::1000]
The interpreter crashes.
The problem is around Objects/listobject.c 1789.
In the inner for loop, the calculated index (cur + j + 1)
can get larger than the list.
I found this problem using valgrind -
http://developer.kde.org/~sewardj/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=587875&group_id=5470