diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-17 09:13:45 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-17 16:05:01 +1100 |
| commit | c8e6a38693d73e06e59c69fbd40c3924836a10e9 (patch) | |
| tree | 3234ec2e814f410492bbb87fd54f8a467097b2b0 /src/rustllvm/RustWrapper.cpp | |
| parent | 90754ae9c95c18841c0200d77da917af5ecde5ee (diff) | |
| download | rust-c8e6a38693d73e06e59c69fbd40c3924836a10e9.tar.gz rust-c8e6a38693d73e06e59c69fbd40c3924836a10e9.zip | |
extra: handle an edge case in BigUint.to_str().
If any of the digits was one past the maximum (e.g. 10**9 for base 10), then this wasn't detected correctly and so the length of the digit was one more than expected, causing a very large allocation. Fixes #10522. Fixes #10288.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
