This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Failure to test return value of PyUnicode_AsUTF8String() for NULL
Type: resource usage Stage:
Components: None Versions: Python 2.5.3
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: CWRU_Researcher1, benjamin.peterson
Priority: normal Keywords:

Created on 2008-11-25 00:39 by CWRU_Researcher1, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76372 - (view) Author: Brian Szuter (CWRU_Researcher1) Date: 2008-11-25 00:39
(translate_into_utf8) Line 573
The return value of PyUnicode_AsUTF8String() is never checked if it is NULL.

msg76393 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-11-25 02:49
There are already NULL checks.
Date User Action Args
2022-04-11 14:56:41adminsetgithub: 48662
2008-11-25 02:49:45benjamin.petersonsetstatus: open -> closed
resolution: not a bug
messages: + msg76393
nosy: + benjamin.peterson
2008-11-25 00:39:48CWRU_Researcher1create