Skip to content

Out of bounds check missing? #1

@easyteacher

Description

@easyteacher

clust[i].center = img->data[max_dist_index];

I tried the code and found sometimes the program can crash due to missing out of bounds check.

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