Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd6a9960c4758b88ec9acd05077c2952f83cb974
Ticket: dd260aaf7225ffcb658d0d64ba87d1c2351487ef
[chan configure -dictionary] (zlib deflate) segfault
User & Date: anonymous on 2016-04-16 07:00:03
Changes

  1. icomment:
    potential patch attached.  I thought it might be possible to read the compression dictionary generated by zlib after pushing some data through, but looking at the TIP and zlib manual it's clear that's not intended.
    
    The patch introduces some tests, makes getting an unconfigured -dictionary work and adds some text from http://www.zlib.net/manual.html to the docs, making it cleared how the option works.
    
    Making the inflate case work correctly required removing the lines at [1] - I think this is correct but dkf might know if there's a reason to do otherwise.
    
    [1]:  http://core.tcl.tk/tcl/artifact/3354467036e27f0b?ln=3623-3624
    
  2. login: "anonymous"
  3. mimetype: "text/plain"
  4. username: "aspect"