Skip to content

Out of bound array access in src_linear.c #208

@lkoenig

Description

@lkoenig

In some particular cases, src_linear.c perform an access on the input array with an index of -1 in https://github.com/libsndfile/libsamplerate/blob/master/src/src_linear.c#L122 when priv->in_used is 0 because.

I'll add a PR with a test case catching this corner case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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