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 (2) #11769

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

internal/trace: index out of range (2) #11769

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

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 18, 2015

cmd/trace crashes on the following input:

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

goroutine 1 [running]:
internal/trace.parseEvents(0xc8202aca00, 0x3a, 0x40, 0xc820288200, 0x30, 0x40, 0x0, 0x0)
        src/internal/trace/parser.go:213 +0x266a
internal/trace.Parse(0x7f2fdae4b078, 0xc820249440, 0x0, 0x0, 0x0, 0x0, 0x0)
        src/internal/trace/parser.go:65 +0x1ad
cmd/trace/fuzz.Fuzz(0x7f2fdac4b000, 0x167, 0x200000, 0x3)
        src/cmd/trace/fuzz/main.go:9 +0x143
github.com/dvyukov/go-fuzz/go-fuzz-dep.Main(0x5a04c0)
        /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 18, 2015
@gopherbot
Copy link
Contributor

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