Thread overview
[Issue 15645] Tuple.slice() causes memory corruption.
Feb 05, 2016
Saurabh Das
Feb 05, 2016
Saurabh Das
Mar 31, 2018
Seb
February 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15645

Saurabh Das <saurabh.das@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |saurabh.das@gmail.com

--
February 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15645

thomas.bockman@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas.bockman@gmail.com

--- Comment #1 from thomas.bockman@gmail.com ---
Proposed fix: https://github.com/D-Programming-Language/phobos/pull/3973

Please review it and let me know if you think this is a good approach.

--
February 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15645

--- Comment #2 from Saurabh Das <saurabh.das@gmail.com> ---
Alternative fix: https://github.com/D-Programming-Language/phobos/pull/3975

This fixes the issue without changing the layout of the tuple. Please review and consider whether the changed function signature is okay.

PS: This is my first pull request on Dlang, so do let me know if I've broken any guidelines/processes :)

--
May 17, 2017
https://issues.dlang.org/show_bug.cgi?id=15645

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/e63c620433f51da97a45e5400ca0a71202d7b129 issue 15645 - Prevent unsafe usage of Tuple.slice

https://github.com/dlang/phobos/commit/a45dc664a94cdfa7931b55b111d03ecf9afb83fa Merge pull request #5342 from tsbockman/issue_15645

issue 15645 - Prevent unsafe usage of Tuple.slice merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>

--
June 17, 2017
https://issues.dlang.org/show_bug.cgi?id=15645

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/e63c620433f51da97a45e5400ca0a71202d7b129 issue 15645 - Prevent unsafe usage of Tuple.slice

https://github.com/dlang/phobos/commit/a45dc664a94cdfa7931b55b111d03ecf9afb83fa Merge pull request #5342 from tsbockman/issue_15645

--
January 05, 2018
https://issues.dlang.org/show_bug.cgi?id=15645

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/e63c620433f51da97a45e5400ca0a71202d7b129 issue 15645 - Prevent unsafe usage of Tuple.slice

https://github.com/dlang/phobos/commit/a45dc664a94cdfa7931b55b111d03ecf9afb83fa Merge pull request #5342 from tsbockman/issue_15645

--
March 31, 2018
https://issues.dlang.org/show_bug.cgi?id=15645

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12@gmail.com
         Resolution|---                         |FIXED

--- Comment #6 from Seb <greensunny12@gmail.com> ---
This was fixed by https://github.com/dlang/phobos/pull/5342 (or well at least this PR prevents the unsafe usage).

--