New submission from Christian Heimes:

http://hg.python.org/cpython/file/be5f1f0bea09/Modules/_ctypes/cfield.c#l1235

CID 486657 (#1 of 1): Unchecked return value (CHECKED_RETURN)
5. check_return: Calling function "PyUnicode_AsWideChar(PyObject *, wchar_t *, 
Py_ssize_t)" without checking return value (as is done elsewhere 7 out of 8 
times).
1263    PyUnicode_AsWideChar(value, (wchar_t *)ptr, size);

----------
components: Extension Modules
messages: 193703
nosy: christian.heimes
priority: low
severity: normal
stage: needs patch
status: open
title: ctypes' U_set() doesn't check return value of PyUnicode_AsWideChar()
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18556>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to