Commit 49539fd1 authored by Alex Smith's avatar Alex Smith Committed by michael-grunder
Browse files

redisReply: Fix - set len in double objects

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment