This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Ned Williamson, ronaldoussoren, serhiy.storchaka
Date 2017-10-30.10:10:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PR 4171 fixes the following errors:

1. OverflowError is raised by seek() for too large offsets of objects or the offset table.

2. Since read() past the file returns b'' and int.from_bytes() used for non-standard sizes accepts b'', bogus offsets and references can be read. This can cause an infinity recursion.

3. The zero size of offsets or references causes ValueError. This is implementation detail.

4. Unicode errors of decoding from invalid ASCII and UTF-8.

It doesn't verify the binary plist, a bogus plist can be successfully parsed to a bogus data. And it doesn't prevent infinity recursion when read cyclic references.
Date User Action Args
2017-10-30 10:10:13serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren, Ned Williamson
2017-10-30 10:10:13serhiy.storchakasetmessageid: <>
2017-10-30 10:10:13serhiy.storchakalinkissue31897 messages
2017-10-30 10:10:12serhiy.storchakacreate