Artifacts Associated With Ticket dd260aaf7225ffcb
Ticket change [f14d829802] (rid 146318) by nem on 2016-04-15 08:41:27:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The following commands cause a segfault on 8.6 and 8.7a0 (Mac OS X 10.10.5): % set json {{"sub":["demo","amadmin"],"exp":"valid","auth":"http://neil.example.com:8080/openam/json/authenticate"}} {"sub":["demo","amadmin"],"exp":"valid","auth":"http://neil.example.com:8080/openam/json/authenticate"} % set out [open /tmp/test.json wb] file6 % zlib push deflate $out file6 % puts $out $json % chan configure $out -dictionary rlwrap: warning: tclsh8.7 crashed, killed by SIGSEGV. - foundin initialized to: "8.7a0"
- is_private initialized to: "0"
- login: "nem"
- priority initialized to: "5 Medium"
- private_contact initialized to: "4d3bc24d727f6c89fb1509fef02f21887282efcc"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "nem"
- subsystem initialized to: "57. zlib"
- title initialized to:
[chan configure -dictionary] (zlib deflate) segfault
- type initialized to: "Bug"
Ticket change [d485b38431] (rid 146319) by dgp on 2016-04-15 11:59:29:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "8"
- severity changed to: "Critical"
Add attachment "zlib.patch" [91fe5a9411] (rid 146323) by anonymous on 2016-04-16 06:58:13.
Ticket change [cd6a9960c4] (rid 146324) by anonymous on 2016-04-16 07:00:03:
- 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
- login: "anonymous"
- mimetype: "text/plain"
- username: "aspect"
- icomment:
Ticket change [287186da94] (rid 147014) by dgp on 2016-06-20 21:52:37:
- foundin changed to: "8.6.5"
- icomment: "Would be good to fix for 8.6.6."
- login: "dgp"
- mimetype: "text/plain"
Ticket change [29ad905639] (rid 147173) by dkf on 2016-06-27 14:29:15:
- closedate changed to: "2457567.10365451"
- closer changed to: "dkf"
- icomment: "Thanks!"
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"