Skip to content

Commit

Permalink
Merge pull request twitter#361 from charsyam/feature/bugfix
Browse files Browse the repository at this point in the history
fix crash when mset has invalid pair
  • Loading branch information
idning committed May 20, 2015
2 parents 786c6d4 + f1645b0 commit bf9803b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/proto/nc_redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,9 +1190,6 @@ redis_parse_req(struct msg *r)
}
state = SW_KEY_LEN;
} else if (redis_argkvx(r)) {
if (r->rnarg == 0) {
goto done;
}
if (r->narg % 2 == 0) {
goto error;
}
Expand Down

0 comments on commit bf9803b

Please sign in to comment.