Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
Pointerleft is dereferencedhere, but null-pointer checkis done later. Correct code should look like this:
intresult;if (left==NULL||right==NULL) {PyErr_BadInternalCall();returnNULL; }PyTypeObject*sesstype= ((PySSLSession*)left)->ctx->state->PySSLSession_Type;
CPython versions tested on:
3.11
Operating systems tested on:
No response