[dmd-internals] [D-Programming-Language/dmd] de2980: fix off-by-one error
GitHub via dmd-internals
dmd-internals at puremagic.com
Sun Aug 23 18:32:56 PDT 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: de29808fa1c5d11646c8081459ec8b9119d92aea
https://github.com/D-Programming-Language/dmd/commit/de29808fa1c5d11646c8081459ec8b9119d92aea
Author: Martin Nowak <code at dawg.eu>
Date: 2015-08-24 (Mon, 24 Aug 2015)
Changed paths:
M src/link.d
Log Message:
-----------
fix off-by-one error
- buf.length = 65536, len = 65535, n = 65535, beg = 0
buf[65535 + 1] = '\0' -> RangeError
buf[65535] = '\0' -> correct
Commit: c94eefd28250cf777a91600b31b945b9c43a8839
https://github.com/D-Programming-Language/dmd/commit/c94eefd28250cf777a91600b31b945b9c43a8839
Author: Walter Bright <walter at walterbright.com>
Date: 2015-08-23 (Sun, 23 Aug 2015)
Changed paths:
M src/link.d
Log Message:
-----------
Merge pull request #4937 from MartinNowak/fixOffByOne
fix off-by-one error
Compare: https://github.com/D-Programming-Language/dmd/compare/e510c005db1f...c94eefd28250
More information about the dmd-internals
mailing list