Thread overview
[Issue 21085] [glue] Only 9999 "hidden identifiers" can be generated
Jul 28, 2020
Dlang Bot
Jul 28, 2020
Dlang Bot
Aug 10, 2020
Dlang Bot
July 28, 2020
https://issues.dlang.org/show_bug.cgi?id=21085

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@UplinkCoder updated dlang/dmd pull request #11469 "[critical bugfix] Increase size for temporary HID identifier" fixing this issue:

- Fix Issue 21085 - Increase size for temporary HID identifier

  For hidden parameters, a unique identifier is generated within the backend
  of the form __HID%d.
  For that string "__HID".length + 4 + "\0".length bytes were allocated,
  Making 9999 hidden parameters the highest number which could be used.
  This change removes the assumption that there can be only 9999 hidden
parameters.
  And extends the buffer to the maximal number of 10 digits which is the maxmal
number that can be represented with a 32bit unsinged integer.

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

--
July 28, 2020
https://issues.dlang.org/show_bug.cgi?id=21085

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11469 "[critical bugfix] Increase size for temporary HID identifier" was merged into stable:

- b0b774c999e07aa6b005f2d17eab7c048cd07c94 by Stefan Koch:
  Fix Issue 21085 - Increase size for temporary HID identifier

  For hidden parameters, a unique identifier is generated within the backend
  of the form __HID%d.
  For that string "__HID".length + 4 + "\0".length bytes were allocated,
  Making 9999 hidden parameters the highest number which could be used.
  This change removes the assumption that there can be only 9999 hidden
parameters.
  And extends the buffer to the maximal number of 10 digits which is the maxmal
number that can be represented with a 32bit unsinged integer.

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11542 "merge stable" was merged into master:

- 50dfa0de2f24996dbdb748ef9a4cd1eb97f463ac by Stefan Koch:
  Fix Issue 21085 - Increase size for temporary HID identifier

  For hidden parameters, a unique identifier is generated within the backend
  of the form __HID%d.
  For that string "__HID".length + 4 + "\0".length bytes were allocated,
  Making 9999 hidden parameters the highest number which could be used.
  This change removes the assumption that there can be only 9999 hidden
parameters.
  And extends the buffer to the maximal number of 10 digits which is the maxmal
number that can be represented with a 32bit unsinged integer.

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

--