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

"index out of range" in decryptAES256() #10

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

"index out of range" in decryptAES256() #10

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

Comments

@octo
Copy link
Member

octo commented Aug 28, 2015

panic: runtime error: index out of range

goroutine 1 [running]:
collectd.org/network.decryptAES256(0x7f2c77702004, 0x1, 0x1ffffc, 0x7f2c788a7a80, 0x4c20801e120, 0x0, 0x0, 0x0, 0x0, 0x0)
        /tmp/go-fuzz-build146054357/src/collectd.org/network/crypto.go:216 +0x1122
collectd.org/network.parseEncryptAES256(0x7f2c77702004, 0x1, 0x1ffffc, 0x7f2c788a7a80, 0x4c20801e120, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /tmp/go-fuzz-build146054357/src/collectd.org/network/parse.go:221 +0x9d
collectd.org/network.parse(0x7f2c77702000, 0x5, 0x200000, 0x0, 0x7f2c788a7a80, 0x4c20801e120, 0x0, 0x0, 0x0, 0x0, ...)
        /tmp/go-fuzz-build146054357/src/collectd.org/network/parse.go:103 +0xcc1
collectd.org/network.Parse(0x7f2c77702000, 0x5, 0x200000, 0x7f2c788a7a80, 0x4c20801e120, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /tmp/go-fuzz-build146054357/src/collectd.org/network/parse.go:34 +0x97
collectd.org/network.Fuzz(0x7f2c77702000, 0x5, 0x200000, 0x3)
        /tmp/go-fuzz-build146054357/src/collectd.org/network/fuzz.go:36 +0x112
github.com/dvyukov/go-fuzz/go-fuzz-dep.Main(0x652508)
        /usr/local/google/home/octo/go/src/github.com/dvyukov/go-fuzz/go-fuzz-dep/main.go:47 +0x13d
main.main()
        /tmp/go-fuzz-build146054357/src/go-fuzz-main/main.go:10 +0x2a
exit status 2
@octo octo added the bug label Aug 28, 2015
@octo octo self-assigned this Aug 28, 2015
octo added a commit that referenced this issue Aug 28, 2015
Don't assume that there are at least two bytes in ciphertext.

Issue: #10
@octo octo closed this as completed Aug 28, 2015
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

1 participant