[New-bugs-announce] [issue28715] Check result of PyUnicode_AsUTF8

Serhiy Storchaka report at bugs.python.org
Wed Nov 16 12:46:27 EST 2016


New submission from Serhiy Storchaka:

The function PyUnicode_AsUTF8() can fail, but not all callers check for error. Proposed patch adds missed checks. In some places the code is rewritten to not use PyUnicode_AsUTF8() at all.

----------
components: Extension Modules, Interpreter Core
files: check-PyUnicode_AsUTF8.patch
keywords: patch
messages: 280972
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Check result of PyUnicode_AsUTF8
type: crash
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45506/check-PyUnicode_AsUTF8.patch

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


More information about the New-bugs-announce mailing list