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

"unknown type" in Buffer.writeValues() #11

Closed
octo opened this issue Aug 28, 2015 · 2 comments
Closed

"unknown type" in Buffer.writeValues() #11

octo opened this issue Aug 28, 2015 · 2 comments
Assignees
Labels

Comments

@octo
Copy link
Member

octo commented Aug 28, 2015

Turns out that Parse() can handle counter metrics, but Buffer.writeValues() can't write them.

panic: unknown type

goroutine 1 [running]:
collectd.org/network.Fuzz(0x7fe8fa833000, 0xf, 0x200000, 0x10)
        /tmp/go-fuzz-build999482993/src/collectd.org/network/fuzz.go:47 +0x339
github.com/dvyukov/go-fuzz/go-fuzz-dep.Main(0x652568)
        /usr/local/google/home/octo/go/src/github.com/dvyukov/go-fuzz/go-fuzz-dep/main.go:47 +0x13d
main.main()
        /tmp/go-fuzz-build999482993/src/go-fuzz-main/main.go:10 +0x2a
@octo octo added the bug label Aug 28, 2015
@octo octo self-assigned this Aug 28, 2015
@octo octo closed this as completed Aug 28, 2015
@ryancox
Copy link

ryancox commented Aug 28, 2015

Fuzzing FTW! You can list your fixes at the bottom of this page if you are so inclined: https://github.com/dvyukov/go-fuzz

@octo
Copy link
Member Author

octo commented Aug 28, 2015

@ryancox I've added #10 to that list. I didn't add this one because it was an unexpected error, rather than an actual crash – you already took care of the panic() in #6 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants