A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AngleSharp/AngleSharp/issues/1179 below:

Parser Issue Findings from Fuzzing · Issue #1179 · AngleSharp/AngleSharp · GitHub

Prerequisites Description

A small input is enough to hang the HTML parser (indefinitly?).

Steps to Reproduce

var html = "<table><a><menu><svg><template></a><nobr><p><nobr>";
or
var html = "<table><a><main><svg><template></a><a><main><a>";

var parser = new AngleSharp.Html.Parser.HtmlParser();
parser.ParseDocument(html.ToCharArray(), 0);
Expected Behavior

Don't take that long.

Actual Behavior

Hangs for at least 10min. Did not test longer.

Possible Solution / Known Workarounds

No response


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