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

Resolve Crash #51

Open
vzong opened this issue Jul 4, 2022 · 0 comments
Open

Resolve Crash #51

vzong opened this issue Jul 4, 2022 · 0 comments

Comments

@vzong
Copy link

vzong commented Jul 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant