Skip to content

Bug in zstd/best quick reject feature #786

@greatroar

Description

@greatroar

I just tried the new "best" encoder on some data, and found that it panics with a "slice out of bounds" message. The error occurs on the line

b := load3232(src, s+m.length-8)

where I have

len(src)     = 1179648
s            = 1179411
m.length     = 249
m.s          = 1179312
left         = 87
s+m.length-8 = 1179652

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions