Closed zbjornson closed 7 years ago
Large exponents caused large heap allocations that crash V8/node.js/chrome. --> Don't try to parse powers greater than +/-4. Fixes #73
Add "big list of naughty strings" test.
NB: There are multiple possible solutions to #73, including putting a fixed cap on the number of loop iterations.
Large exponents caused large heap allocations that crash V8/node.js/chrome. --> Don't try to parse powers greater than +/-4. Fixes #73
Add "big list of naughty strings" test.
NB: There are multiple possible solutions to #73, including putting a fixed cap on the number of loop iterations.