[Issue 24856] std.array.Appender.ensureAddable can create stale memory references

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 03:56:27 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24856

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@schveiguy created dlang/phobos pull request #9084 "Fix appender code that
might not initialize memory that might point at huge allocations" fixing this
issue:

- Fix bugzilla issue 24856 - Make sure appender doesn't leave some stale
  pointers in unallocated space, thereby pinning unused memory.

https://github.com/dlang/phobos/pull/9084

--


More information about the Digitalmars-d-bugs mailing list