|
2024-10-18
| ||
| 15:18 | • Ticket [cfdf80a2ef] zlib stream returns negative checksums status still Clos... artifact: 31582cea74 user: jan.nijtmans | |
| 15:12 | Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib ch... check-in: 07b3bc2ff1 user: jan.nijtmans tags: core-8-branch | |
| 15:06 | Fix [73d5cb615e]: zlib-8.8, zlib-8.16 fail on Fedora 40, gcc 14.1.1 backport [cfdf80a2efc6]: zlib ch... check-in: 81ad0315e2 user: jan.nijtmans tags: core-8-6-branch | |
|
2024-08-30
| ||
| 17:37 | Merge [08603ee649a6456f]: Fix [cfdf80a2efc6] - zlib checksum is negative. check-in: e6480da097 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE | |
|
2024-07-12
| ||
| 16:06 | • Closed ticket [cfdf80a2ef]: zlib stream returns negative checksums plus 5 ot... artifact: c3c86089ec user: apnadkarni | |
|
2024-07-11
| ||
| 15:18 | • Ticket [cfdf80a2ef]: 3 changes artifact: 121275296f user: apnadkarni | |
| 15:17 | Bug [cfdf80a2efc6] - zlib checksum is negative check-in: 08603ee649 user: apnadkarni tags: trunk, main | |
| 13:46 | • New ticket [cfdf80a2ef] zlib stream returns negative checksums. artifact: bdf576ac79 user: apnadkarni | |
zlib stream returns negative checksums
Closed / Fixedcfdf80a2efc65e908271c3a27243e110c2bfc4abCreated 2 years agoUpdated 2 years ago
Descriptionmarkdown2024-07-11 13:46:47
% set compressor [zlib stream gzip -header {comment "A zlib demo"}]
::tcl::zlib::streamcmd_1
% $compressor put abcd
% $compressor checksum
-310194927
As shown above, a negative checksum is returned although both adler-32 and crc32 are specified as unsigned 32-bit ints. In fact,
% zlib crc32 abcd
3984772369
which is actually the same 32-bit pattern as -310194927.
This behavior is new with 9.0 (8.6 returns 3984772369 as expected)
apnadkarniplain2024-07-11 15:18:32
Fixed in [08603ee649].
apnadkarni Closed ticket [cfdf80a2ef].
[History diff]2024-07-12 16:06:25
jan.nijtmanswiki2024-10-18 15:18:35
Same problem existed on 8.6 and 8.7 too, so now it's backported.
Log in (anonymous is fine) to add a comment.