• Victor Stinner's avatar
    bpo-33706: Fix pymain_parse_cmdline_impl() (GH-7283) · 58d16832
    Victor Stinner yazdı
    Fix a crash in Python initialization when parsing the command line
    options.
    
    Fix memcpy() size parameter: previously, we read one wchar_t after
    the end of _PyOS_optarg. Moreover, don't copy the trailingg NUL
    character: we write it manually anyway.
    
    Thanks Christoph Gohlke for the bug report and the fix!
    58d16832
2018-05-31-14-50-04.bpo-33706.ztlH04.rst 132 Bytes