antirez/redis — Issue #247: Accepting non-integer parameters when shouldn't
Author: seppo0010
Created: 2011-12-14 17:27:51+00:00
State: open

LSET and LRANGE accepts non-integer parameters as index when probably shouldn't. Sending a non-integer string seems to act like a 0.

redis 127.0.0.1:6379> lpush mykey z
(integer) 1
redis 127.0.0.1:6379> lset mykey a y
OK
redis 127.0.0.1:6379> lrange mykey 0 b
1) "y"