Skip to content

Remove all strcpy() uses in favor of strscpy() #88

@kees

Description

@kees

A lot of kernel code is still using strcpy(). While the CONFIG_FORTIFY_SOURCE wrapper macros tend to make its use mostly safe, it would be nice to eliminate the function from the kernel entirely.

https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy

Some background on stracpy() and its rejection.

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