Skip to content

Array out of bounds indexing #35

@masonator24601

Description

@masonator24601

In src/whisper-utils/silero-vad-onnx.cpp, line 319 - it's possible there's out of bounds indexing going on for an array

std::vector<float> slice(&input_wav[current_start], &input_wav[input_wav.size()]);

I'm barely a C++ beginner so it's possible something is happening with the array I don't understand, but &input_wav[input_wav.size()] is past the last array element no?

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