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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28715>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to