Skip to content

Improper Null termination #805

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
A few cases of possible missing termination:

strncpy(module->file_name, filename, OS_MAX_PATH_LEN);

strncpy(*err_name, Error->Name, OS_ERROR_NAME_LENGTH - 1);

Describe the solution you'd like
Terminate.

Describe alternatives you've considered
None

Additional context
Secuity analysis warning

Requester Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions