Kaydet (Commit) ed7e2224 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #9566: explain why (int)len cannot underflow

üst c9982321
......@@ -839,6 +839,7 @@ readinst(char *buf, int buf_size, PyObject *meth)
finally:
Py_XDECREF(arg);
Py_XDECREF(str);
/* len <= buf_size <= INT_MAX (see above) */
return (int)len;
}
......
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