[issue39859] set_herror should not throw away constness of hstrerror

Andy Lester report at bugs.python.org
Thu Mar 5 00:49:49 EST 2020


New submission from Andy Lester <andy at petdance.com>:

set_herror builds a string by calling hstrerror but downcasts its return value to char *.  It should be const char *.

----------
components: Interpreter Core
messages: 363418
nosy: petdance
priority: normal
severity: normal
status: open
title: set_herror should not throw away constness of hstrerror

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39859>
_______________________________________


More information about the Python-bugs-list mailing list