Skip to content
Tcl Source Code Artifact [4b282ca1b4]
Login

Artifact [4b282ca1b4]

Artifact 4b282ca1b4025643591074bec342863407219be2:

Ticket change [4b282ca1b4] - New ticket [478c446889d74995|478c446889] <i>zlib inflate leaking memory on Z_STREAM_ERROR condition</i>. by bovine on 2015-06-10 18:06:51.
D 2015-06-10T18:06:51.637
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment In\sTcl_ZlibInflate\sof\sgeneric/tclZlib.c\sthere\sis\sthis\serror\sblock:\r\n\r\n\tif\s((stream.avail_in\s==\s0)\s&&\s(stream.avail_out\s>\s0))\s{\r\n\t\s\s\s\se\s=\sZ_STREAM_ERROR;\r\n\t\s\s\s\sgoto\serror;\r\n\t}\r\n\r\nI\sbelieve\sthat\sneeds\sto\scall\sinflateEnd(&stream)\sbefore\sthe\sgoto\sto\savoid\sleaking\szlib\smemory\sstructures.\sThis\sleak\swould\sonly\soccur\sif\syou\sare\strying\sto\sdecompress\scorrupted/incomplete\sdata\sa\slot.
J foundin 8.6.3
J is_private 0
J login bovine
J priority 5\sMedium
J private_contact f0e2312a244c99b69b66ff52a743015292c5af63
J resolution None
J severity Important
J status Open
J submitter bovine
J subsystem 57.\szlib
J title zlib\sinflate\sleaking\smemory\son\sZ_STREAM_ERROR\scondition
J type Bug
K 478c446889d74995ad6e0ac0b5602c01d7e215d9
U bovine
Z a24f505ba198ae7307ef860be9f5aba7