Skip to content

Fix stringop-truncation warnings#56

Open
m8mble wants to merge 1 commit into
taku910:masterfrom
m8mble:master
Open

Fix stringop-truncation warnings#56
m8mble wants to merge 1 commit into
taku910:masterfrom
m8mble:master

Conversation

@m8mble

@m8mble m8mble commented May 22, 2020

Copy link
Copy Markdown

Identified by modern gcc.

Issued on invocations of strncpy that could result in C-strings
which are not null-terminated. Fixed by copying fewer chars.

Identified by modern gcc.

Issued on invocations of `strncpy` that could result in C-strings
which are not null-terminated. Fixed by copying fewer chars.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant