[issue40079] NULL pointer deref on error path in _ssl debughelpers.c

2021-04-17 Thread Christian Heimes
Christian Heimes added the comment: The issue has been fixed by fbf94af2af3c09493481b8559b84f6e9f0628c37 in on 2020-Jun-21. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue40079] NULL pointer deref on error path in _ssl debughelpers.c

2020-03-26 Thread Alexander Riccio
New submission from Alexander Riccio : At line 138 in debughelpers.c, ssl_obj, which was set to NULL on line 122, is dereferenced. I think the original intent was to actually bubble the error up through the ssl object. Full function: static void _PySSL_keylog_callback(const SSL *ssl, con