D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3361 - code in std.zlib concatenates void[] arrays
Summary: code in std.zlib concatenates void[] arrays
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D1 (retired)
Hardware: All All
: P2 critical
Assignee: No Owner
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-10-02 18:39 UTC by Vladimir Panteleev
Modified: 2014-04-18 09:17 UTC (History)
2 users (show)

See Also:


Attachments
proposed patch (812 bytes, patch)
2009-10-02 18:39 UTC, Vladimir Panteleev
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2009-10-02 18:39:32 UTC
Created attachment 468 [details]
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 David Simcha 2010-08-16 16:46:07 UTC
Fixed SVN.