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

YamlStream.Load terminates the process with StackOverflowException #375

Open
Metalnem opened this issue Dec 24, 2018 · 1 comment
Open
Labels
bug help-wanted If you want to help with this issue, let me know!

Comments

@Metalnem
Copy link

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.

@aaubry aaubry added the bug label Jun 10, 2019
@aaubry
Copy link
Owner

aaubry commented Jun 10, 2019

Thanks. I have another bug report for a different but related issue and both should be tackled in parallel.

@aaubry aaubry added the help-wanted If you want to help with this issue, let me know! label Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help-wanted If you want to help with this issue, let me know!
Projects
None yet
Development

No branches or pull requests

2 participants