• Oran Agra's avatar
    Improvements to corrupt payload sanitization (#9321) · 0c90370e
    Oran Agra authored
    
    
    Recently we found two issues in the fuzzer tester: #9302 #9285
    After fixing them, more problems surfaced and this PR (as well as #9297) aims to fix them.
    
    Here's a list of the fixes
    - Prevent an overflow when allocating a dict hashtable
    - Prevent OOM when attempting to allocate a huge string
    - Prevent a few invalid accesses in listpack
    - Improve sanitization of listpack first entry
    - Validate integrity of stream consumer groups PEL
    - Validate integrity of stream listpack entry IDs
    - Validate ziplist tail followed by extra data which start with 0xff
    Co-authored-by: default avatarsundb <sundbcn@gmail.com>
    0c90370e
dict.c 44.1 KB