[dmd-internals] [D-Programming-Language/dmd] 580eb1: Fix Issue 9195 - Should not be able to index a poi...

GitHub noreply at github.com
Mon Jan 14 11:49:01 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 580eb165d141848658ea71ac6cba54e3023d98a8
      https://github.com/D-Programming-Language/dmd/commit/580eb165d141848658ea71ac6cba54e3023d98a8
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2013-01-14 (Mon, 14 Jan 2013)

  Changed paths:
    M src/expression.c
    M test/runnable/testsafe.d

  Log Message:
  -----------
  Fix Issue 9195 - Should not be able to index a pointer in safed

This prevents indexing a pointer in @safe code unless the index is known at compile time to be zero.


  Commit: e97e886c7a092a279bf72b1ad5e6fb63dc81b82e
      https://github.com/D-Programming-Language/dmd/commit/e97e886c7a092a279bf72b1ad5e6fb63dc81b82e
  Author: Walter Bright <walter at walterbright.com>
  Date:   2013-01-14 (Mon, 14 Jan 2013)

  Changed paths:
    M src/expression.c
    M test/runnable/testsafe.d

  Log Message:
  -----------
  Merge pull request #1482 from yebblies/issue9195

Issue 9195 - Should not be able to index a pointer in safed


Compare: https://github.com/D-Programming-Language/dmd/compare/e540881d587d...e97e886c7a09


More information about the dmd-internals mailing list