Bug 3361 – code in std.zlib concatenates void[] arrays

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2009-10-02T18:39:00Z
Last change time
2014-04-18T09:17:47Z
Keywords
patch
Assigned to
nobody
Creator
dlang-bugzilla

Attachments

IDFilenameSummaryContent-TypeSize
468zlib.patchproposed patchtext/plain812

Comments

Comment #0 by dlang-bugzilla — 2009-10-02T18:39:32Z
Created attachment 468 proposed patch In several places, the code in the std.zlib concatenates void[] arrays. This causes allocation of data incorrectly marked as possibly containing pointers. This bug is the main source of severe memory leaks in my application, thus it is marked as "critical".
Comment #1 by dsimcha — 2010-08-16T16:46:07Z
Fixed SVN.