[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-35720: Fixing a memory leak in Modules/main.c:pymain_parse_cmdline_impl by Lucas-C · Pull Request #11528 · python/cpython

the-knights-who-say-ni

When the loop in the pymain_read_conf function in this same file
calls pymain_init_cmdline_argv a 2nd time, the pymain->command
buffer of wchar_t is overriden and the previously allocated memory
is never freed.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jan 22, 2019

…nGH-11528)

When the loop in the pymain_read_conf function in this same file
calls pymain_init_cmdline_argv() a 2nd time, the pymain->command
buffer of wchar_t is overriden and the previously allocated memory
is never freed.
(cherry picked from commit 35ca182)

Co-authored-by: Lucas Cimon <lucas.cimon@gmail.com>

miss-islington added a commit that referenced this pull request

Jan 22, 2019

)

When the loop in the pymain_read_conf function in this same file
calls pymain_init_cmdline_argv() a 2nd time, the pymain->command
buffer of wchar_t is overriden and the previously allocated memory
is never freed.
(cherry picked from commit 35ca182)

Co-authored-by: Lucas Cimon <lucas.cimon@gmail.com>