Staging
v0.5.1
Revision e277cb76989958fdbc092bf0b2cb55c43e86610a authored by Miss Skeleton (bot) on 02 November 2020, 21:34:46 UTC, committed by GitHub on 02 November 2020, 21:34:46 UTC

* 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.
(cherry picked from commit 34637a0ce21e7261b952fbd9d006474cc29b681f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 723e21a
History
File Mode Size
cache.c -rw-r--r-- 12.4 KB
cache.h -rw-r--r-- 2.3 KB
connection.c -rw-r--r-- 56.5 KB
connection.h -rw-r--r-- 4.6 KB
cursor.c -rw-r--r-- 29.4 KB
cursor.h -rw-r--r-- 2.4 KB
microprotocols.c -rw-r--r-- 4.5 KB
microprotocols.h -rw-r--r-- 2.0 KB
module.c -rw-r--r-- 14.8 KB
module.h -rw-r--r-- 1.9 KB
prepare_protocol.c -rw-r--r-- 4.3 KB
prepare_protocol.h -rw-r--r-- 1.5 KB
row.c -rw-r--r-- 9.3 KB
row.h -rw-r--r-- 1.3 KB
statement.c -rw-r--r-- 16.7 KB
statement.h -rw-r--r-- 2.0 KB
util.c -rw-r--r-- 4.0 KB
util.h -rw-r--r-- 1.6 KB

back to top