1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

fix: crash on torrent with 65536 blocks per piece (#1988)

Fixes #1411.
This commit is contained in:
Charles Kerr 2021-10-18 19:25:00 -05:00 committed by GitHub
parent 77b11232f2
commit d7773c47b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,8 +183,8 @@ struct tr_torrent
uint32_t lastBlockSize;
uint32_t lastPieceSize;
uint16_t blockCountInPiece;
uint16_t blockCountInLastPiece;
uint32_t blockCountInPiece;
uint32_t blockCountInLastPiece;
struct tr_completion completion;