[New-bugs-announce] [issue28417] va_end twice in PyUnicode_FromFormatV

Xiang Zhang report at bugs.python.org
Tue Oct 11 12:19:38 EDT 2016


New submission from Xiang Zhang:

vargs2 could be va_end()ed twice in PyUnicode_FromFormatV when format contains non-ascii characters. Once va_end()ed, vargs2 is undefined. So this could lead to undefined behaviour.

----------
components: Interpreter Core
files: PyUnicode_FromFormatV.patch
keywords: patch
messages: 278496
nosy: christian.heimes, haypo, serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: va_end twice in PyUnicode_FromFormatV
type: behavior
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45059/PyUnicode_FromFormatV.patch

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


More information about the New-bugs-announce mailing list