https://issues.dlang.org/show_bug.cgi?id=22359
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <[email protected]> --- dlang/phobos pull request #8263 "Fix issue #22359 - joiner over an empty class range liable to segfault" was merged into master: - ff6920bd8a461393dcdb7d01edb9b62bcb9bf4d1 by Adam D. Ruppe: Fix issue #22359 - joiner over an empty forward range object liable to segfault If you pass it a range of class-based ranges, the initialization to `typeof(_current).init` will be `null`. Calling the `save` method on `null` will naturally be a memory violation. This generic check will handle null without harming any other type since save of any init value will be another init value. https://github.com/dlang/phobos/pull/8263 --
