[Python-bugs-list] [ python-Bugs-425325 ] Possible bug in tupleobject.c
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 18 May 2001 15:07:05 -0700
Bugs item #425325, was updated on 2001-05-18 14:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=425325&group_id=5470
Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 8
Submitted By: Robert Minsk (rminsk)
Assigned to: Tim Peters (tim_one)
Summary: Possible bug in tupleobject.c
Initial Comment:
While trying to debug a memory corruption problem I may
have run across a problem in Objects/tupleobject.c.
Line 363 reads:
for (i = o->ob_size; --i >= 0; ) {
Should it be?
for (i = o->ob_size - 1; --i >= 0; ) {
----------------------------------------------------------------------
>Comment By: Robert Minsk (rminsk)
Date: 2001-05-18 15:07
Message:
Logged In: YES
user_id=132786
I discovered this using purify. I am running purify on all
the python test code right now.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2001-05-18 14:53
Message:
Logged In: YES
user_id=31435
Zoomed the priority and assigned to me. Good eye! The
same bug appears in listobject.c too. I'll review all the
xxx_traverse methods while I'm at it -- cut-&-paste bugs
are deadly. Thanks!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=425325&group_id=5470