diff options
Diffstat (limited to 'Python/flowgraph.c')
-rw-r--r-- | Python/flowgraph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/flowgraph.c b/Python/flowgraph.c index b53e771..fbbe053 100644 --- a/Python/flowgraph.c +++ b/Python/flowgraph.c @@ -645,6 +645,7 @@ push_except_block(ExceptStack *stack, cfg_instr *setup) { if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) { target->b_preserve_lasti = 1; } + assert(stack->depth <= CO_MAXBLOCKS); stack->handlers[++stack->depth] = target; return target; } |