alicebob / miniredis

Pure Go Redis server for Go unittests
MIT License
3.11k stars 217 forks source link

Fix integer overflow #361

Closed wszaranski closed 8 months ago

wszaranski commented 8 months ago

Fixes INCR, DECR, INCRBY, DECRBY to return error when value would overflow.

Closes: https://github.com/alicebob/miniredis/issues/291

alicebob commented 8 months ago

Interesting, thanks! Looks great, but will have a proper look soon.

alicebob commented 8 months ago

Didn't get around to this yet, not forgotten!, probably this weekend.

alicebob commented 8 months ago

thanks!