[D-runtime] [D-Programming-Language/druntime] bb7e7c: gc.gc: Fix out-of-bounds pagetable access

GitHub via D-runtime d-runtime at puremagic.com
Fri Mar 27 11:27:30 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: bb7e7c3440f4d2932004abc0698f081e0d9745a3
      https://github.com/D-Programming-Language/druntime/commit/bb7e7c3440f4d2932004abc0698f081e0d9745a3
  Author: Vladimir Panteleev <vladimir at thecybershadow.net>
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  gc.gc: Fix out-of-bounds pagetable access

We never check that `i + p < npages`.

Found using Vagrind.


  Commit: cfe938a11c06cf299d7011236ebf6a3fadce33e8
      https://github.com/D-Programming-Language/druntime/commit/cfe938a11c06cf299d7011236ebf6a3fadce33e8
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-03-27 (Fri, 27 Mar 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  Merge pull request #1199 from CyberShadow/pull-20150324-224917

gc.gc: Fix out-of-bounds pagetable access


Compare: https://github.com/D-Programming-Language/druntime/compare/38c8805d91b8...cfe938a11c06


More information about the D-runtime mailing list