Skip to content

Uglify.Js hangs permanently #63

@Metalnem

Description

@Metalnem

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions