The following program runs for more than two minutes on my machine, even though I've set the timeout interval to two seconds. I'm using .NET Core 2.2 on macOS, but the same thing happens on Linux, too.
using System; namespace Jint.Run { public class Program { public static void Main(string[] args) { new Engine(SetOptions).Execute("new Date (1, Infinity);"); } private static void SetOptions(Options options) { options.LimitRecursion(32).TimeoutInterval(TimeSpan.FromSeconds(2)); } } }
Found via SharpFuzz.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4