[phobos] [D-Programming-Language/phobos] adc341: BigInt("") should not break array bounds.

GitHub via phobos phobos at puremagic.com
Thu Feb 25 12:49:37 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: adc341e914d9fdc7554f8c71991919905a97ee98
      https://github.com/D-Programming-Language/phobos/commit/adc341e914d9fdc7554f8c71991919905a97ee98
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M std/bigint.d

  Log Message:
  -----------
  BigInt("") should not break array bounds.

Throws exception on empty string instead.

Update ddoc.

Also throw on invalid digit strings.


  Commit: 887414b3641e71f1402b268cc922904e7764a039
      https://github.com/D-Programming-Language/phobos/commit/887414b3641e71f1402b268cc922904e7764a039
  Author: H. S. Teoh <hsteoh at quickfur.ath.cx>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M std/bigint.d

  Log Message:
  -----------
  Delete old dead code.


  Commit: 3ad0489e36819780a5b9c8a486968f6ae2fe73d3
      https://github.com/D-Programming-Language/phobos/commit/3ad0489e36819780a5b9c8a486968f6ae2fe73d3
  Author: Lars T. Kyllingstad <git at kyllingen.net>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M std/bigint.d

  Log Message:
  -----------
  Merge pull request #3995 from quickfur/bigint_bounds

Issue 15678: BigInt("") should not break array bounds


Compare: https://github.com/D-Programming-Language/phobos/compare/5e5a8010efaa...3ad0489e3681


More information about the phobos mailing list