Skip to content
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

Closed
Metalnem opened this issue Dec 25, 2018 · 0 comments
Closed

Uglify.Js hangs permanently #63

Metalnem opened this issue Dec 25, 2018 · 0 comments

Comments

@Metalnem
Copy link

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.

trullock added a commit that referenced this issue Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant