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

Handlebars.Compile hangs permanently #283

Closed
Metalnem opened this issue Jan 23, 2019 · 1 comment
Closed

Handlebars.Compile hangs permanently #283

Metalnem opened this issue Jan 23, 2019 · 1 comment

Comments

@Metalnem
Copy link

Handlebars.Compile hangs permanently when compiling some malformed inputs. Here is the full program to reproduce one such case:

namespace Handlebars.Run
{
  public class Program
  {
    public static void Main(string[] args)
    {
      var text = "<p>{{>trbles=}\n ";
      HandlebarsDotNet.Handlebars.Compile(text);
    }
  }
}

Found via SharpFuzz.

@vzwick
Copy link
Contributor

vzwick commented Apr 17, 2019

Doesn't reproduce on 849d36c (i.e. current master branch).

@rexm rexm closed this as completed Apr 17, 2019
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

3 participants