[Issue 18691] assigning a std.regex.Captures with 3 or more groups causes double free
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 6 19:37:10 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18691
--- Comment #6 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/b602b5a3f42456faa39b56082510d2181b6b844a
Fix issue 18691 - memory errors in std.regex.Captures
Instead of a messy code that ended up with refcount at the wrong place
provide a clean fixed-size array with required semantics and
build on top of that.
https://github.com/dlang/phobos/commit/71692cd4746bc9601c3126666a71eb8b20fd22f3
Merge pull request #6379 from DmitryOlshansky/fix-issue-18691
Fix issue 18691 - memory errors in std.regex.Captures
merged-on-behalf-of: Jack Stouffer <jack at jackstouffer.com>
--
More information about the Digitalmars-d-bugs
mailing list