Skip to content

out of bound access of vectors #91

Open
@victorpasse

Description

@victorpasse

In a lot of places you are doing something like this:
if (index > RBC_MESH_PACKET_POOL_SIZE)
return 0;
return g_packet_refs[index];
it should be index >= RBC_MESH_PACKET_POOL_SIZE

You should run a linting tool on your code an fix all these errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions