mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 04:51:32 +00:00
Handle large getrange requests
Previously the end was casted to a smaller type which resulted in a wrong check and failed with values larger than handled by unsigned. Closes #1847, #1844
This commit is contained in:
committed by
antirez
parent
4024220fe6
commit
07b2779bff
@ -769,4 +769,9 @@ start_server {tags {"basic"}} {
|
||||
r keys *
|
||||
r keys *
|
||||
} {dlskeriewrioeuwqoirueioqwrueoqwrueqw}
|
||||
|
||||
test {GETRANGE with huge ranges, Github issue #1844} {
|
||||
r set foo bar
|
||||
r getrange foo 0 4294967297
|
||||
} {bar}
|
||||
}
|
||||
|
Reference in New Issue
Block a user