Overview
| Artifact ID: | 4b282ca1b4025643591074bec342863407219be2 |
|---|---|
| Ticket: | 478c446889d74995ad6e0ac0b5602c01d7e215d9
zlib inflate leaking memory on Z_STREAM_ERROR condition |
| User & Date: | bovine on 2015-06-10 18:06:51 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
In Tcl_ZlibInflate of generic/tclZlib.c there is this error block: if ((stream.avail_in == 0) && (stream.avail_out > 0)) { e = Z_STREAM_ERROR; goto error; } I believe that needs to call inflateEnd(&stream) before the goto to avoid leaking zlib memory structures. This leak would only occur if you are trying to decompress corrupted/incomplete data a lot. - foundin changed to: "8.6.3"
- is_private changed to: "0"
- login: "bovine"
- priority changed to: "5 Medium"
- private_contact changed to: "f0e2312a244c99b69b66ff52a743015292c5af63"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "bovine"
- subsystem changed to: "57. zlib"
- title changed to:
zlib inflate leaking memory on Z_STREAM_ERROR condition
- type changed to: "Bug"