New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uglify.Js hangs permanently #63

Open
Metalnem opened this Issue Dec 25, 2018 · 0 comments

Comments

1 participant
@Metalnem
Copy link

Metalnem commented Dec 25, 2018

Uglify.Js can hang permanently with some malformed JS inputs. Here's the full program to reproduce one such case:

using System.IO;

namespace NUglify.Run
{
  public class Program
  {
    public static void Main(string[] args)
    {
      Uglify.Js("switch=1) eval('1');");
    }
  }
}

Found via SharpFuzz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment