[Issue 19522] [GC] GC.query/addrOf/sizeOf fail for freed memory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 31 13:14:31 UTC 2018


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

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/a44c9bf00e3385247bf6b8356881bd69d07c38e2
fix Issue 19522 - [GC] GC.query/addrOf/sizeOf fail for freed memory

keep track of free bits during malloc and free, so that it can be checked when
determining pointer validity
this also avoids having to "prepare" them during collection

https://github.com/dlang/druntime/commit/29e9ac23c3f569a235895181edff1c6e364152b6
Merge pull request #2429 from rainers/gc_freebits

fix Issue 19522 - [GC] GC.query/addrOf/sizeOf fail for freed memory
merged-on-behalf-of: Nicholas Wilson <thewilsonator at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list