• antirez's avatar
    Streams: fix xreadGetKeys() buffer overflow. · a0b27dae
    antirez authored
    The loop allocated a buffer for the right number of keys positions, then
    overflowed it going past the limit.
    
    Related to #4857 and cause of the memory violation seen in #5028.
    a0b27dae
db.c 51.3 KB