Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce39f2589d879a9771b34c1088fbe49af8b0dca1e4f3f0f3d760250ce95d59e0
Ticket: 8af92dfb668b292a7b21df9ac0418e3bc2e68bef
zlib transform issue, bad inflate
User & Date: aku on 2020-04-14 20:03:17
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    I have an example file (591 bytes) where inflation using a channel transform generates a file which is 3096 bytes short of the actual file it was generated from by deflation. Using direct in-memory inflation OTOH is ok, i.e. reconstructs the input correctly (size, and sha256sum). I have not tried to use a stream object.
    
    Example file and test script will be attached.
    
    Output from the example run
    <pre>
      hephaistos:(529) ~/Play/CoreSources/B > tclsh example.tcl 
      ./example.direct:    458752
      ./example.transform: 455656
      Transform under by 3096, vs direct
    </pre>
    I have seen this issue with 8.6.7 first, then confirmed to be still present in 8.6.10, and 8.7a4 (commit [c92d723731] on core-8-branch).
    
  5. foundin changed to: "8.7a4, 8.6.10, 8.6.7, ..."
  6. is_private changed to: "0"
  7. login: "aku"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "194c9ef8edbd9a57ef36f4f18fde1d57ce26e1e5"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "aku"
  14. subsystem changed to: "57. zlib"
  15. title changed to: "zlib transform issue, bad inflate"
  16. type changed to: "Bug"