• Oran Agra's avatar
    Corrupt stream key access to uninitialized memory (#8681) · f6e1a94e
    Oran Agra authored
    the corrupt-dump-fuzzer test found a case where an access to a corrupt
    stream would have caused accessing to uninitialized memory.
    now it'll panic instead.
    
    The issue was that there was a stream that says it has more than 0
    records, but looking for the max ID came back empty handed.
    
    p.s. when sanitize-dump-payload is used, this corruption is detected,
    and the RESTORE command is gracefully rejected.
    f6e1a94e
t_stream.c 140 KB