diff --git a/src/networking.c b/src/networking.c index 9e3e4a21ff8f6989dbfdd0e5f9162bde3359aa54..c9d211f384b90cfdfec80280526be0644ada6a95 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1000,8 +1000,10 @@ int processMultibulkBuffer(redisClient *c) { newline = strchr(c->querybuf+pos,'\r'); if (newline == NULL) { if (sdslen(c->querybuf) > REDIS_INLINE_MAX_SIZE) { - addReplyError(c,"Protocol error: too big bulk count string"); + addReplyError(c, + "Protocol error: too big bulk count string"); setProtocolError(c,0); + return REDIS_ERR; } break; }