summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-11-02 21:01:40 (GMT)
committerGitHub <noreply@github.com>2020-11-02 21:01:40 (GMT)
commit34637a0ce21e7261b952fbd9d006474cc29b681f (patch)
tree39914654a8ddafa8a95822ae5d180b154ef1105d /Parser
parent6fdfcec5b11f44f27aae3d53ddeb004150ae1f61 (diff)
downloadcpython-34637a0ce21e7261b952fbd9d006474cc29b681f.zip
cpython-34637a0ce21e7261b952fbd9d006474cc29b681f.tar.gz
cpython-34637a0ce21e7261b952fbd9d006474cc29b681f.tar.bz2
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 'Parser')
0 files changed, 0 insertions, 0 deletions