August 23, 2015 [dmd-internals] [D-Programming-Language/dmd] de2980: fix off-by-one error | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation