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

FuzzDecodeEncodeDecode: yaml: invalid UTF-8 in tag "\xc0\x80" #53

Closed
ernado opened this issue Apr 12, 2023 · 0 comments · Fixed by #54
Closed

FuzzDecodeEncodeDecode: yaml: invalid UTF-8 in tag "\xc0\x80" #53

ernado opened this issue Apr 12, 2023 · 0 comments · Fixed by #54
Assignees
Labels
fuzz Bug found by fuzzing

Comments

@ernado
Copy link
Member

ernado commented Apr 12, 2023

--- FAIL: FuzzDecodeEncodeDecode (17.48s)
    --- FAIL: FuzzDecodeEncodeDecode (0.00s)
        fuzz_test.go:112: 
                Error Trace:    /src/faster/yamlx/fuzz_test.go:112
                                                        /usr/local/go/src/reflect/value.go:586
                                                        /usr/local/go/src/reflect/value.go:370
                                                        /usr/local/go/src/testing/fuzz.go:335
                Error:          Received unexpected error:
                                yaml: invalid UTF-8 in tag "\xc0\x80"
                Test:           FuzzDecodeEncodeDecode
        fuzz_test.go:91: Input: "!%C0%80"
    
    Failing input written to testdata/fuzz/FuzzDecodeEncodeDecode/f62dc59e4c32e1d6
    To re-run:
    go test -run=FuzzDecodeEncodeDecode/f62dc59e4c32e1d6
go test fuzz v1
[]byte("!%C0%80")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuzz Bug found by fuzzing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants