Skip to content

YamlStream.Load terminates the process with StackOverflowException #375

Open
@Metalnem

Description

@Metalnem

YamlStream.Load terminates the process by throwing a StackOverflowException when loading the document from the attached archive. As far as I know, there is no way to set the recursion limit on YamlStream. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):

using (var file = File.OpenText(path))
{
  new YamlStream().Load(file);
}

Found via SharpFuzz.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp-wantedIf you want to help with this issue, let me know!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions