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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 23:59:10 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #9084 "Fix appender code that might not initialize
memory that might point at huge allocations" was merged into stable:

- 120e8195c93d6778fd99a143963bbdb1bb5872ec by Steven Schveighoffer:
  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