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

StylesheetParser.Parse throws ArgumentOutOfRangeException #101

Metalnem opened this issue Dec 24, 2018 · 1 comment

StylesheetParser.Parse throws ArgumentOutOfRangeException #101

Metalnem opened this issue Dec 24, 2018 · 1 comment


Copy link

@Metalnem Metalnem commented Dec 24, 2018

StylesheetParser.Parse throws an ArgumentOutOfRangeException with the following message:

An unhandled exception of type 'System.ArgumentOutOfRangeException'
occurred in System.Private.CoreLib.dll: 'A valid UTF32 value is between
0x000000 and 0x10ffff, inclusive, and should not include surrogate
codepoint values (0x00d800 ~ 0x00dfff).'

You can run the following code to reproduce it (the path variable should contain the path to the file extracted from the attached archive):

using (var file = File.OpenRead(path))
  var parser = new StylesheetParser();

Found via SharpFuzz.

Copy link

@TylerBrinks TylerBrinks commented Nov 5, 2020

Please verify in version 4.0 if the issue still exists.

@TylerBrinks TylerBrinks closed this Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants