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

resp.cpp使用sprintf导致ssdb CoreDump #1427

Open
Lihuanghe opened this issue May 10, 2023 · 0 comments
Open

resp.cpp使用sprintf导致ssdb CoreDump #1427

Lihuanghe opened this issue May 10, 2023 · 0 comments

Comments

@Lihuanghe
Copy link

ssdb version :1.9.8
重现::执行
hset Test f1 9223372036854775807
hincr Test f1 1

hincr Long类型最大值后结果变为负数,此时使用字符长度是21,使用buf[20];导致core掉。

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