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: nil deref (2) #11770

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

internal/trace: nil deref (2) #11770

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\x00Q00\x020"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4633a7]

goroutine 1 [running]:
internal/trace.postProcessTrace(0xc82009c600, 0x2f, 0x40, 0x0, 0x0)
        src/internal/trace/parser.go:503 +0x3797
internal/trace.Parse(0x7fcc8c5681c0, 0xc8200144b0, 0x0, 0x0, 0x0, 0x0, 0x0)
        src/internal/trace/parser.go:73 +0x3d9
cmd/trace/fuzz.Fuzz(0x7fcc8c364000, 0x1e0, 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

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