Skip to content
Tcl Source Code History Of Ticket 1b803e48af
Login

History Of Ticket 1b803e48af

Artifacts Associated With Ticket 1b803e48af

  1. Ticket change [2ed10c6130] (rid 261579) by jan.nijtmans on 2026-11-13 14:23:12:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      in tclZlib.c, line 1876:
      <pre>
          stream.avail_in = inLen+1; /* +1 because zlib can "over-request"
                                      * input (but ignore it!) */
      </pre>
      
      The data buffer is retreived from Tcl_GetBytesFromObj()  (line 1808), but the array returned here is NOT generally null-terminated. Is this "+1" really needed? My guess is that it might have been needed in an old (buggy) zlib version, but those kind of bugs are fixed already long ago. We shouldn't do that any more.
      
      Let's see if removing the "+1" breaks anything.
      
    5. foundin initialized to: "all"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "Possible overread in Tcl_ZlibInflate()"
    16. type initialized to: "Bug"
  2. Ticket change [fd7ab3722a] (rid 261970) by jan.nijtmans on 2026-11-20 08:02:34:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461364.8351183566"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Merge to [ecb74f661e|trunk], core-9-0-branch and core-8-6-branch
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"