[New-bugs-announce] [issue4412] Failure to test return value of PyUnicode_AsUTF8String() for NULL

Brian Szuter report at bugs.python.org
Tue Nov 25 01:39:49 CET 2008


New submission from Brian Szuter <Brian.Szuter at gmail.com>:

/home/rxc92/project/Python-2.5.2/Parser/tokenizer.c
(translate_into_utf8) Line 573
The return value of PyUnicode_AsUTF8String() is never checked if it is NULL.

Reference:
http://www.python.org/doc/2.5.2/api/builtinCodecs.html#l2h-523

----------
components: None
messages: 76372
nosy: CWRU_Researcher1
severity: normal
status: open
title: Failure to test return value of PyUnicode_AsUTF8String() for NULL
type: resource usage
versions: Python 2.5.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4412>
_______________________________________


More information about the New-bugs-announce mailing list