Fix HLL corruption
Former-commit-id: 47ef9e5cbd11dad107a68a94dfb51d192e86c84e
This commit is contained in:
parent
2181eca5de
commit
0df22ef9f6
@ -710,6 +710,7 @@ int hllSparseSet(robj *o, long index, uint8_t count) {
|
||||
first += span;
|
||||
}
|
||||
if (span == 0) return -1; /* Invalid format. */
|
||||
if (p >= end) return -1; /* Invalid format. */
|
||||
|
||||
next = HLL_SPARSE_IS_XZERO(p) ? p+2 : p+1;
|
||||
if (next >= end) next = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user