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

internal/trace: index out of range #11766

Closed
dvyukov opened this issue Jul 17, 2015 · 1 comment
Closed

internal/trace: index out of range #11766

dvyukov opened this issue Jul 17, 2015 · 1 comment
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 17, 2015

cmd/trace crashes on the following input:

"gotrace\x00\x020"
panic: runtime error: index out of range

goroutine 1 [running]:
internal/trace.parseEvents(0xc820298a00, 0x3a, 0x40, 0xc820274200, 0x30, 0x40, 0x0, 0x0)
        src/internal/trace/parser.go:213 +0x2581
internal/trace.Parse(0x7fb01a52f1c0, 0xc820235440, 0x0, 0x0, 0x0, 0x0, 0x0)
        src/internal/trace/parser.go:65 +0x1ad
cmd/trace/fuzz.Fuzz(0x7fb01a32b000, 0x167, 0x200000, 0x3)
        src/cmd/trace/fuzz/main.go:9 +0x143
github.com/dvyukov/go-fuzz/go-fuzz-dep.Main(0x59f460)
        /home/dvyukov/src/gopath/src/github.com/dvyukov/go-fuzz/go-fuzz-dep/main.go:44 +0x14c
main.main()
        src/go-fuzz-main/main.go:10 +0x23

go version devel +9b04852 Sat Jul 11 00:08:50 2015 +0000 linux/amd64

@dvyukov dvyukov self-assigned this Jul 17, 2015
@gopherbot
Copy link

CL https://golang.org/cl/12378 mentions this issue.

@mikioh mikioh added this to the Go1.5 milestone Jul 19, 2015
@golang golang locked and limited conversation to collaborators Jul 18, 2016
@rsc rsc unassigned dvyukov Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants