Skip to content
Snippets Groups Projects
  • Deucе's avatar
    2adc919e
    Ensure line isn't valid is it's not read in parse_string() · 2adc919e
    Deucе authored
    Thus appears to have been the root cause of the infinite loop/memory
    issue.  Basically, line was never replaced if it didn't match
    ^{[0-9]+}$ and didn't result in a number when passed to parseInt()
    This resulted in an infinite loop that kept pushing zero-length
    strings into an array.
    2adc919e
    History
    Ensure line isn't valid is it's not read in parse_string()
    Deucе authored
    Thus appears to have been the root cause of the infinite loop/memory
    issue.  Basically, line was never replaced if it didn't match
    ^{[0-9]+}$ and didn't result in a number when passed to parseInt()
    This resulted in an infinite loop that kept pushing zero-length
    strings into an array.