[Issue 20886] std.process.browse does not work with URLs 256 characters or longer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 22 10:44:38 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=20886

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

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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #7988 "Fix 20886 - Retain tempCString buffer in
browse" was merged into stable:

- 08927149ccbb3a20fb7e97687065fe66a33e2cb8 by MoonlightSentinel:
  Fix 20886 - Retain tempCString buffer in browse

  The temporary buffer returned by `tempCString` was assigned to a `char*`
  and hence destroyed after the statement. This worked by accident for
  small URL's because the space was allocated on the stack and not
  overwritten before forking.

https://github.com/dlang/phobos/pull/7988

--


More information about the Digitalmars-d-bugs mailing list