--- Python.org/compile.c 2003-09-22 06:41:22.000000000 +0200 +++ Python/compile.c 2004-08-05 15:12:04.796875000 +0200 @@ -382,6 +382,8 @@ tgttgt -= i + 3; /* Calc relative jump addr */ if (tgttgt < 0) /* No backward relative jumps */ continue; + if (tgttgt > 65535) /* No too big jumps */ + continue; codestr[i] = opcode; SETARG(codestr, i, tgttgt); break;