Skip to content

using the pointer size as buffer lenght is not a good idea... #60

@bebbo

Description

@bebbo

selhero.cpp:

strncpy(name, selhero_heroInfo.name, sizeof(name) - 1);

name is a pointer and does not know the length of the buffer...
sizeof(name) yields the pointer size of the target cpu...

Metadata

Metadata

Assignees

No one assigned

    Labels

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