Thread overview
[Issue 21116] onArrayCastError is horribly unsafe
Aug 05, 2020
Dlang Bot
Aug 06, 2020
Dlang Bot
August 05, 2020
https://issues.dlang.org/show_bug.cgi?id=21116

elpenguino+D@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elpenguino+D@gmail.com

--- Comment #1 from elpenguino+D@gmail.com ---
It also assumes that assert() accepts null-terminated strings. On windows, it does not, so garbage gets printed fairly reliably there.

--
August 05, 2020
https://issues.dlang.org/show_bug.cgi?id=21116

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@schveiguy created dlang/druntime pull request #3185 "Fix issue 21116 - Do not squirrel stack pointers away in AssertErrors." fixing this issue:

- Fix issue 21116 - Do not squirrel stack pointers away in AssertErrors.

https://github.com/dlang/druntime/pull/3185

--
August 06, 2020
https://issues.dlang.org/show_bug.cgi?id=21116

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/druntime pull request #3185 "Fix issue 21116 - Do not squirrel stack pointers away in AssertErrors." was merged into master:

- d48c3b7d8475a18d3457e7a18929b104f906a82e by Steven Schveighoffer:
  Fix issue 21116 - Do not squirrel stack pointers away in AssertErrors.

https://github.com/dlang/druntime/pull/3185

--