Issue 1615868: BZ2File.seek() fails for large files (original ) (raw ) This issue has been migrated to GitHub: https://github.com/python/cpython/issues/44339
classification
process
Created on 2006-12-14 16:25 by lars.gustaebel , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
bz2-seek.diff
lars.gustaebel,2006-12-14 16:45
patch against bz2module.c
Messages (3)
msg51533 - (view)
Author: Lars Gustäbel (lars.gustaebel) *
Date: 2006-12-14 16:25
The bytesread variable in BZ2File.seek() is defined as int instead of size_t making it impossible to seek beyond 2GB distances. Affected are all Python versions.
msg51534 - (view)
Author: Lars Gustäbel (lars.gustaebel) *
Date: 2006-12-14 16:45
Nah, it must be Py_off_t. File Added: bz2-seek.diff
msg51535 - (view)
Author: A.M. Kuchling (akuchling) *
Date: 2006-12-18 19:26
Thanks for the patch! Committed to the trunk in rev. 53053 and to 25-maint in rev. 53054 .
History
Date
User
Action
Args
2022-04-11 14:56:21
admin
set
github: 44339
2006-12-14 16:25:38
lars.gustaebel
create