diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2020-11-02 23:01:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 23:01:40 +0200 |
| commit | 34637a0ce21e7261b952fbd9d006474cc29b681f (patch) | |
| tree | 39914654a8ddafa8a95822ae5d180b154ef1105d /Include/Python-ast.h | |
| parent | 6fdfcec5b11f44f27aae3d53ddeb004150ae1f61 (diff) | |
| download | cpython-git-34637a0ce21e7261b952fbd9d006474cc29b681f.tar.gz | |
bpo-42103: Improve validation of Plist files. (GH-22882)
* Prevent some possible DoS attacks via providing invalid Plist files
with extremely large number of objects or collection sizes.
* Raise InvalidFileException for too large bytes and string size instead of returning garbage.
* Raise InvalidFileException instead of ValueError for specific invalid datetime (NaN).
* Raise InvalidFileException instead of TypeError for non-hashable dict keys.
* Add more tests for invalid Plist files.
Diffstat (limited to 'Include/Python-ast.h')
0 files changed, 0 insertions, 0 deletions
