March 24, 2013 [dmd-internals] [D-Programming-Language/dmd] f0f6fa: Fix a buffer overrun on Linux/PPC64. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: f0f6fa0c458cebf23e98592a22a8fec1c8ee191f https://github.com/D-Programming-Language/dmd/commit/f0f6fa0c458cebf23e98592a22a8fec1c8ee191f Author: kai <kai@redstar.de> Date: 2013-03-24 (Sun, 24 Mar 2013) Changed paths: M src/expression.c Log Message: ----------- Fix a buffer overrun on Linux/PPC64. The buffer in realToMangleBuffer() is too small for longdouble values. It produces strings like 0X1.599999999999999999999999998P+1 or 0X1.999999999999999999999999998P-4 which have a length of 34. This results in an ICE e.g. in the unit test of std.range. Commit: cfec6fbcc480f3f7c23aa0a5d0bc105e49450a39 https://github.com/D-Programming-Language/dmd/commit/cfec6fbcc480f3f7c23aa0a5d0bc105e49450a39 Author: Walter Bright <walter@walterbright.com> Date: 2013-03-24 (Sun, 24 Mar 2013) Changed paths: M src/expression.c Log Message: ----------- Merge pull request #1792 from redstar/overrun Fix a buffer overrun on Linux/PPC64. Compare: https://github.com/D-Programming-Language/dmd/compare/618d8277aaf2...cfec6fbcc480 |
Copyright © 1999-2021 by the D Language Foundation