We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
go-yaml panics on invalid input.
To Reproduce
package main import "github.com/goccy/go-yaml" func main() { target := make(map[string]any) yaml.Unmarshal([]byte("0::"), &target) }
Playground link: https://go.dev/play/p/55WKa4zscyX
Expected behavior
I expected Unmarshal to return an error and not panic.
Version Variables
The text was updated successfully, but these errors were encountered:
Hi @abrander, I created a new issue that explains the cause of this panic you encountered.
Sorry, something went wrong.
I can confirm this is solved by #485. Thanks, @semihbkgr, you're moving fast!
No branches or pull requests
Describe the bug
go-yaml panics on invalid input.
To Reproduce
Playground link: https://go.dev/play/p/55WKa4zscyX
Expected behavior
I expected Unmarshal to return an error and not panic.
Version Variables
The text was updated successfully, but these errors were encountered: