Overview
| Artifact ID: | bdf576ac79bc87c66ca69b48fdc5f3b4ee12e42fd2741fc922fa79bc74dbfab9 |
|---|---|
| Ticket: | cfdf80a2efc65e908271c3a27243e110c2bfc4ab
zlib stream returns negative checksums |
| User & Date: | apnadkarni on 2024-07-11 13:46:47 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
``` % 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) - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "57. zlib"
- title changed to: "zlib stream returns negative checksums"
- type changed to: "Bug"