Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision 6f03b236c17c96bc9f8a004ffa7e7ae0542e9cac authored by Claudiu Popa on 24 November 2019, 19:15:08 UTC, committed by Miss Islington (bot) on 24 November 2019, 19:15:08 UTC
The previous code was raising a `KeyError` for both the Python and C implementation. This was caused by the specified index of an invalid input which did not exist in the memo structure, where the pickle stores what objects it has seen. The malformed input would have caused either a `BINGET` or `LONG_BINGET` load from the memo, leading to a `KeyError` as the determined index was bogus. https://bugs.python.org/issue38876 https://bugs.python.org/issue38876
1 parent e407646
Tip revision: 6f03b236c17c96bc9f8a004ffa7e7ae0542e9cac authored by Claudiu Popa on 24 November 2019, 19:15:08 UTC
bpo-38876: Raise pickle.UnpicklingError when loading an item from memo for invalid input (GH-17335)
bpo-38876: Raise pickle.UnpicklingError when loading an item from memo for invalid input (GH-17335)
Tip revision: 6f03b23
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.8 KB |
.gitignore | -rw-r--r-- | 1.8 KB |
.travis.yml | -rw-r--r-- | 8.1 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 630 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 66.2 KB |
README.rst | -rw-r--r-- | 9.8 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 492.2 KB |
configure.ac | -rw-r--r-- | 162.7 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
netlify.toml | -rw-r--r-- | 82 bytes |
pyconfig.h.in | -rw-r--r-- | 44.0 KB |
setup.py | -rw-r--r-- | 101.7 KB |
Computing file changes ...