Thread overview
[Issue 22807] ImportC: Array index is out of bounds for old-style flexible arrays.
Mar 03, 2022
Walter Bright
Mar 03, 2022
Dlang Bot
Mar 04, 2022
Dlang Bot
March 03, 2022
https://issues.dlang.org/show_bug.cgi?id=22807

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
Yes, I forgot about that trick. Too bad this check will have to be disabled for ImportC.

--
March 03, 2022
https://issues.dlang.org/show_bug.cgi?id=22807

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #13746 "fix Issue 22807 - ImportC: Array index is out of bounds for old-style…" fixing this issue:

- fix Issue 22807 - ImportC: Array index is out of bounds for old-style flexible arrays

https://github.com/dlang/dmd/pull/13746

--
March 04, 2022
https://issues.dlang.org/show_bug.cgi?id=22807

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/dmd pull request #13746 "fix Issue 22807 - ImportC: Array index is out of bounds for old-style…" was merged into master:

- 46afe3c83432ba866cc35ffcb52bebcf23b72803 by Walter Bright:
  fix Issue 22807 - ImportC: Array index is out of bounds for old-style
flexible arrays

https://github.com/dlang/dmd/pull/13746

--