Changes between Initial Version and Version 1 of Ticket #3629, comment 1
- Timestamp:
- 02/12/2024 03:52:54 PM (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3629, comment 1
initial v1 1 My hint is this may come from sub_buffer being null or empty in 'metafile.py' line 359:1 Edit: My hint is this may come from size == 0 (therefore pos >= size) in 'metafile.py' line 353: 2 2 {{{ 3 if torrent_format.includes_v1(): 4 a = piece_length - done 5 for sub_buffer in (buffer[:a], buffer[a:]): 6 if sub_buffer: 7 sh.update(sub_buffer) 8 done += len(sub_buffer) 3 with open(f, 'rb') as file_: 4 while pos < size: 9 5 }}}