Ensure line isn't valid is it's not read in parse_string()
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.
parent
9e22b06f
No related branches found
No related tags found
Please register or sign in to comment