Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
set exc to NULL after chaining
  • Loading branch information
iritkatriel committed Mar 16, 2023
commit 9f3d14243ef9dbd9e44abc8a2a1aadef6523e90e
1 change: 1 addition & 0 deletions Modules/_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ PySSL_ChainExceptions(PySSLSocket *sslsock) {
return 0;

_PyErr_ChainExceptions1(sslsock->exc);
sslsock->exc = NULL;
return -1;
}

Expand Down