Skip to content

Another panic on malformed input #33

Description

@Shnatsel

When given a malformed input lewton panics with the following error:

thread 'main' panicked at 'index out of bounds: the len is 256 but the index is 256', src/audio.rs:558:13

Testcase: minimized_panic2_testcase.gz (gzipped so that github would accept the upload)

Command to reproduce the crash:
RUSTFLAGS='--cfg=fuzzing' cargo run --release --example perf /path/to/testcase

Tested on git commit ddd2408. Found using afl.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions