[Issue 18773] New: Constraints on buffer re-use for std.zlib should be documented.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 17 20:32:19 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18773
Issue ID: 18773
Summary: Constraints on buffer re-use for std.zlib should be
documented.
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: briancschott at gmail.com
The Compress and UnCompress classes have undocumented restrictions on when the
buffers passed to their `compress` and `uncompress` methods can be re-used.
This needs to be fixed so that people are not accidentally creating or reading
corrupted data.
--
More information about the Digitalmars-d-bugs
mailing list