A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-September/146525.html below:

[Python-Dev] cpython (3.6): replace usage of Py_VA_COPY with the (C99) standard va_copy

[Python-Dev] cpython (3.6): replace usage of Py_VA_COPY with the (C99) standard va_copy [Python-Dev] cpython (3.6): replace usage of Py_VA_COPY with the (C99) standard va_copyChristian Heimes christian at python.org
Wed Sep 21 05:06:27 EDT 2016
On 2016-09-21 05:39, benjamin.peterson wrote:
> https://hg.python.org/cpython/rev/278b21d8e86e
> changeset:   103977:278b21d8e86e
> branch:      3.6
> parent:      103975:d31b4de433b7
> user:        Benjamin Peterson <benjamin at python.org>
> date:        Tue Sep 20 20:39:33 2016 -0700
> summary:
>   replace usage of Py_VA_COPY with the (C99) standard va_copy

Thanks! Coverity has been complaining about Py_VA_COPY() for a long
time. Your change may cause a memory leak on some platforms. You must
va_end() a va_copy() region:

Each invocation of va_copy() must be matched by a corresponding
invocation of va_end() in the same function.

https://linux.die.net/man/3/va_copy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4