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: did not find expected ',' or '}' #60

Closed
ernado opened this issue Apr 23, 2023 · 0 comments · Fixed by #61
Closed

FuzzDecodeEncodeDecode: did not find expected ',' or '}' #60

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

Comments

@ernado
Copy link
Member

ernado commented Apr 23, 2023

fuzz: elapsed: 2m56s, minimizing
--- FAIL: FuzzDecodeEncodeDecode (175.66s)
    --- FAIL: FuzzDecodeEncodeDecode (0.00s)
        fuzz_test.go:115: 
                Error Trace:    /src/faster/yamlx/fuzz_test.go:115
                                                        /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: line 1: did not find expected ',' or '}'
                Test:           FuzzDecodeEncodeDecode
        fuzz_test.go:91: Input: "{{} #\n}"
        fuzz_test.go:93: Data: "{{} #\n: ''}\n"
    
    Failing input written to testdata/fuzz/FuzzDecodeEncodeDecode/f91ab6905aa88579
    To re-run:
    go test -run=FuzzDecodeEncodeDecode/f91ab6905aa88579
FAIL
go test fuzz v1
[]byte("{{} #\n}")
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