mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
enlarged buffer given to ld2string
This commit is contained in:
@ -620,7 +620,7 @@ void hincrbyfloatCommand(client *c) {
|
||||
|
||||
value += incr;
|
||||
|
||||
char buf[256];
|
||||
char buf[MAX_LONG_DOUBLE_CHARS];
|
||||
int len = ld2string(buf,sizeof(buf),value,1);
|
||||
new = sdsnewlen(buf,len);
|
||||
hashTypeSet(o,c->argv[2]->ptr,new,HASH_SET_TAKE_VALUE);
|
||||
|
Reference in New Issue
Block a user