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.

classification
Title: Plistlib cannot create binary Plist file larger than 4GiB
Type: behavior Stage: resolved
Components: Library (Lib), macOS Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: miss-islington, ned.deily, ronaldoussoren, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-11-03 07:21 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23121 merged serhiy.storchaka, 2020-11-03 07:25
PR 23128 merged miss-islington, 2020-11-03 14:16
PR 23129 merged miss-islington, 2020-11-03 15:02
Messages (4)
msg380263 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-11-03 07:21
Due to a typo plistlib uses at most 32 bits for references and offsets. It will fail if try to create a file larger than 4GiB or containing more than 2**32 unique objects (the latter of course implies the former).
msg380278 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-11-03 14:16
New changeset 212d32f45c91849c17a82750df1ac498d63976be by Serhiy Storchaka in branch 'master':
bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)
https://github.com/python/cpython/commit/212d32f45c91849c17a82750df1ac498d63976be
msg380279 - (view) Author: miss-islington (miss-islington) Date: 2020-11-03 15:02
New changeset ac70175fc038e0f06034c4d61c577ef4b923464a by Miss Skeleton (bot) in branch '3.8':
bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)
https://github.com/python/cpython/commit/ac70175fc038e0f06034c4d61c577ef4b923464a
msg380301 - (view) Author: miss-islington (miss-islington) Date: 2020-11-03 21:33
New changeset 9bc07874e34930d4e816a9a3330aab009404991e by Miss Skeleton (bot) in branch '3.9':
bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121)
https://github.com/python/cpython/commit/9bc07874e34930d4e816a9a3330aab009404991e
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86415
2020-11-04 13:05:58serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-11-03 21:33:06miss-islingtonsetmessages: + msg380301
2020-11-03 15:02:26miss-islingtonsetpull_requests: + pull_request22045
2020-11-03 15:02:03miss-islingtonsetmessages: + msg380279
2020-11-03 14:16:16miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request22044
2020-11-03 14:16:04serhiy.storchakasetmessages: + msg380278
2020-11-03 07:25:26serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request22037
2020-11-03 07:21:29serhiy.storchakacreate