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 #11767

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

internal/trace: nil deref #11767

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

goroutine 1 [running]:
internal/trace.postProcessTrace(0xc82009c800, 0x2f, 0x40, 0x0, 0x0)
        src/internal/trace/parser.go:534 +0x3936
internal/trace.Parse(0x7ff4a485c1c0, 0xc8200144e0, 0x0, 0x0, 0x0, 0x0, 0x0)
        src/internal/trace/parser.go:73 +0x3d9
cmd/trace/fuzz.Fuzz(0x7ff4a4658000, 0x1df, 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
@dvyukov dvyukov changed the title cmd/trace: nil deref interanal/trace: nil deref Jul 17, 2015
@dvyukov dvyukov changed the title interanal/trace: nil deref internal/trace: nil deref 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