]> git.saurik.com Git - redis.git/commit
Fix issue #247 : Accepting non-integer parameters when shouldn't
authorBigCat <miaout17@gmail.com>
Mon, 19 Dec 2011 11:29:46 +0000 (19:29 +0800)
committerBigCat <miaout17@gmail.com>
Mon, 19 Dec 2011 11:48:35 +0000 (19:48 +0800)
commit706b32e0e0a7dd20cc3f74501c1bfd74570b380c
tree7754ad4196d1561f1edbf197b1148f78eaf7f416
parent0e59a947287a793719226c2c7505d9fc8e616e1a
Fix issue #247 : Accepting non-integer parameters when shouldn't
Using `getLongFromObjectOrReply` instead of `atoi` if possible.
The following functions are modified.

* lrangeCommand
* ltrimCommand
* lremCommand
* lindexCommand
* lsetCommand
* zunionInterGenericCommand
* genericZrangebyscoreCommand
* sortCommand
src/sort.c
src/t_list.c
src/t_zset.c