Skip to content

dynamic.c:365: problem with call to strncpy ? #519

@dcb314

Description

@dcb314

[dynamic.c:365]: (error) Dangerous usage of 'mname' (strncpy doesn't always null-terminate it).

 strncpy(mname,coretype,20);
        sprintf(message, "Core not found: %s\n",mname);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions