[Python-Dev] LOAD_CONST POP_TOP (original) (raw)
Armin Rigo arigo at tunes.org
Sun Jul 2 13:23:44 CEST 2006
- Previous message: [Python-Dev] how long to wait for expat to incorporate a fix to prevent a crasher?
- Next message: [Python-Dev] 2.5 and beyond
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Georg,
On Fri, Jun 30, 2006 at 08:39:13PM +0200, Georg Brandl wrote:
+ case LOADCONST: + cumlc = lastlc + 1; + /* Skip over LOADCONST POPTOP */ + if (codestr[i+3] == POPTOP) {
This is missing a ISBASICBLOCK() check. It makes the following example segfault:
a = 5
for i in range(1000):
a or 4
Attached an updated patch to the SF tracker.
A bientot,
Armin.
- Previous message: [Python-Dev] how long to wait for expat to incorporate a fix to prevent a crasher?
- Next message: [Python-Dev] 2.5 and beyond
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]