Commit 02104df4 authored by Neal Norwitz's avatar Neal Norwitz

Fix #132 from Coverity, retval could have been derefed

if a continue inside a try failed.
parent e04fe8c6
......@@ -2173,6 +2173,10 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
case CONTINUE_LOOP:
retval = PyInt_FromLong(oparg);
if (!retval) {
x = NULL;
break;
}
why = WHY_CONTINUE;
goto fast_block_end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment