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

使用v1.10.2版本数组越界 #548

Open
zjtaozjtw opened this issue Oct 31, 2023 · 1 comment
Open

使用v1.10.2版本数组越界 #548

zjtaozjtw opened this issue Oct 31, 2023 · 1 comment

Comments

@zjtaozjtw
Copy link

[main] panic: runtime error: slice bounds out of range [317:305]
[main]
[main] goroutine 255 [running]:
[main] github.com/bytedance/sonic/ast.(*Node).skipNextPair(0xc000a938f0)
[main] /go/pkg/mod/github.com/bytedance/sonic@v1.10.2/ast/parser.go:557 +0x1195
[main] github.com/bytedance/sonic/ast.(*Node).skipKey(0xc000a938f0, {0xc000739c75, 0x5})
[main] /go/pkg/mod/github.com/bytedance/sonic@v1.10.2/ast/node.go:1246 +0x314
[main] github.com/bytedance/sonic/ast.(*Node).Get(0xc000a938f0, {0xc000739c75, 0x5})
[main] /go/pkg/mod/github.com/bytedance/sonic@v1.10.2/ast/node.go:718 +0x96
[main] git.qingteng.cn/ms/service-outgoing/internal/global.(*FilterMap).IsSink(0xc0009fce00, 0xc000486ea0)
[main] /workspace/internal/global/common_msg.go:142 +0x3d2
[main] git.qingteng.cn/ms/service-outgoing/internal/processor/filter.Filter.func1()
[main] /workspace/internal/processor/filter/filter.go:18 +0x125
[main] created by git.qingteng.cn/ms/service-outgoing/internal/processor/filter.Filter
[main] /workspace/internal/processor/filter/filter.go:15 +0x19e

@AsterDY
Copy link
Collaborator

AsterDY commented Oct 31, 2023

please give reproducible codes and data

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

2 participants