You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following example of exponential string concatenation:
locals="x"; for_=1, 1000dos=s..send
Press "execute" a few times, watch the memory usage rise to ridiculous levels and your system killing the process in response.
Mitigation would most likely require a RAM-limited subprocess for execution; keeping track of the memory used through local variables and debug.getlocal might work as well, but would slow execution down to a crawl (would have to be checked every step).
The text was updated successfully, but these errors were encountered:
Consider the following example of exponential string concatenation:
Press "execute" a few times, watch the memory usage rise to ridiculous levels and your system killing the process in response.
Mitigation would most likely require a RAM-limited subprocess for execution; keeping track of the memory used through local variables and
debug.getlocal
might work as well, but would slow execution down to a crawl (would have to be checked every step).The text was updated successfully, but these errors were encountered: