Skip to content

Resolve Crash #51

@vzong

Description

@vzong

panic: runtime error: index out of range [0] with length 0

goroutine 454 [running]:
github.com/40t/go-sniffer/plugSrc/mysql/build.(*Stmt).BindArgs(0xc1884aa380, {0xc188a3320a, 0x1, 0xc18848fe88?}, {0x0, 0x0, 0x0?}, {0x0, 0x0, 0x0})
/root/go/pkg/mod/github.com/40t/go-sniffer@v0.0.0-20201023123058-add66245ba50/plugSrc/mysql/build/stmt.go:79 +0xbd4
github.com/40t/go-sniffer/plugSrc/mysql/build.(*stream).resolveClientPacket(0xc00006b3b0?, {0xc188a33200, 0x14, 0x600}, 0x0?)
/root/go/pkg/mod/github.com/40t/go-sniffer@v0.0.0-20201023123058-add66245ba50/plugSrc/mysql/build/entry.go:344 +0x36d
github.com/40t/go-sniffer/plugSrc/mysql/build.(*stream).resolve(0xc00006b3b0)
/root/go/pkg/mod/github.com/40t/go-sniffer@v0.0.0-20201023123058-add66245ba50/plugSrc/mysql/build/entry.go:193 +0x6b
created by github.com/40t/go-sniffer/plugSrc/mysql/build.(*Mysql).ResolveStream
/root/go/pkg/mod/github.com/40t/go-sniffer@v0.0.0-20201023123058-add66245ba50/plugSrc/mysql/build/entry.go:71 +0x3f0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions