Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision ca9ae94a2aba35d94ac1ec081f9bcac3a13aebd3 authored by Victor Stinner on 23 August 2019, 11:22:14 UTC, committed by GitHub on 23 August 2019, 11:22:14 UTC
empty_argv is no longer static in Python 3.8, but it is declared in a temporary scope, whereas argv keeps a reference to it. empty_argv memory (allocated on the stack) is reused by make_sys_argv() code which is inlined when using gcc -O3. Define empty_argv in PySys_SetArgvEx() body, to ensure that it remains valid for the whole lifetime of the PySys_SetArgvEx() call. (cherry picked from commit c48682509dc49b43fe914fe6c502bc390345d1c2)
1 parent 994925b
Tip revision: ca9ae94a2aba35d94ac1ec081f9bcac3a13aebd3 authored by Victor Stinner on 23 August 2019, 11:22:14 UTC
bpo-37926: Fix PySys_SetArgvEx(0, NULL, 0) crash (GH-15415) (GH-15420)
bpo-37926: Fix PySys_SetArgvEx(0, NULL, 0) crash (GH-15415) (GH-15420)
Tip revision: ca9ae94
File | Mode | Size |
---|---|---|
NEWS.d | ||
ACKS | -rw-r--r-- | 27.0 KB |
HISTORY | -rw-r--r-- | 1.3 MB |
Porting | -rw-r--r-- | 63 bytes |
README | -rw-r--r-- | 1.4 KB |
README.AIX | -rw-r--r-- | 4.7 KB |
README.coverity | -rw-r--r-- | 845 bytes |
README.valgrind | -rw-r--r-- | 4.8 KB |
SpecialBuilds.txt | -rw-r--r-- | 9.8 KB |
coverity_model.c | -rw-r--r-- | 4.0 KB |
gdbinit | -rw-r--r-- | 4.8 KB |
indent.pro | -rw-r--r-- | 557 bytes |
python-config.in | -rw-r--r-- | 2.1 KB |
python-config.sh.in | -rw-r--r-- | 2.9 KB |
python-embed.pc.in | -rw-r--r-- | 310 bytes |
python-wing3.wpr | -rw-r--r-- | 555 bytes |
python-wing4.wpr | -rw-r--r-- | 835 bytes |
python-wing5.wpr | -rw-r--r-- | 835 bytes |
python.man | -rw-r--r-- | 15.8 KB |
python.pc.in | -rw-r--r-- | 268 bytes |
svnmap.txt | -rw-r--r-- | 4.1 MB |
valgrind-python.supp | -rw-r--r-- | 8.2 KB |
vgrindefs | -rw-r--r-- | 500 bytes |
Computing file changes ...