[Issue 1832] reading/writing an archive causes data loss; std.zip horribly broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 5 20:47:31 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=1832
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |code at dawg.eu
Resolution|FIXED |
Severity|critical |regression
--- Comment #7 from Martin Nowak <code at dawg.eu> 2013-12-05 20:46:34 PST ---
I now get a segfault for the following code.
import std.zip;
void main()
{
auto a1 = new ZipArchive();
auto m1 = new ArchiveMember();
m1.expandedData = new ubyte[](10);
a1.addMember(m1);
a1.build();
auto a2 = new ZipArchive();
a2.addMember(m1);
a2.build(); // segfaults
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list