提交 49539fd1 编写于 作者: A Alex Smith 提交者: michael-grunder

redisReply: Fix - set len in double objects

上级 53a8144c
......@@ -235,6 +235,7 @@ static void *createDoubleObject(const redisReadTask *task, double value, char *s
* decimal string conversion artifacts. */
memcpy(r->str, str, len);
r->str[len] = '\0';
r->len = len;
if (task->parent) {
parent = task->parent->obj;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册