New submission from Zackery Spytz <zsp...@gmail.com>:
In _servername_callback(), servername_bytes will be used after being decrefed if PyUnicode_FromEncodedObject() fails. ---------- assignee: christian.heimes components: Extension Modules, SSL messages: 373371 nosy: ZackerySpytz, christian.heimes priority: normal severity: normal status: open title: Incorrect reference counting in _ssl.c's _servername_callback() type: behavior versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41252> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com