Skip to content

replace all remaining strcpy() with safe_strncpy()#2

Merged
ecki merged 2 commits intoecki:masterfrom
florianl:master
Jun 15, 2013
Merged

replace all remaining strcpy() with safe_strncpy()#2
ecki merged 2 commits intoecki:masterfrom
florianl:master

Conversation

@florianl
Copy link
Copy Markdown
Contributor

With this changes there are no strcpy() left in net-tools.

Signed-off-by: Lehner Florian dev@der-flo.net

florianl added 2 commits June 14, 2013 21:06
Signed-off-by: Lehner Florian <dev@der-flo.net>
Signed-off-by: Lehner Florian <dev@der-flo.net>
@florianl
Copy link
Copy Markdown
Contributor Author

except the default-thing in lib/inet6.c:L106 I've implemented your proposals

@ecki ecki merged commit cb15dc2 into ecki:master Jun 15, 2013
@ecki
Copy link
Copy Markdown
Owner

ecki commented Jun 15, 2013

Thanks, merged it.

ecki added a commit that referenced this pull request Mar 21, 2025
The if here is neither needed, nor particular good, but this way code scanners do not complain.

If touched again warn on truncated reads,
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.

2 participants