[issue28549] curses: calling addch() with an 1-length str segfaults with ncurses6 compiled with --enable-ext-colors

Serhiy Storchaka report at bugs.python.org
Fri Oct 28 16:56:45 EDT 2016


Serhiy Storchaka added the comment:

The _curses module uses direct access to cchar_t fields. Proposed patch makes it using setcchar. Does it fixes this issue Yutao?

----------
keywords: +patch
nosy: +serhiy.storchaka, twouters
stage:  -> patch review
versions: +Python 3.6, Python 3.7 -Python 3.4
Added file: http://bugs.python.org/file45254/curses_setcchar.patch

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


More information about the Python-bugs-list mailing list