Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libffs: Fix string truncation gcc warning. #212

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@hramrach
Copy link
Contributor

commented Jan 25, 2019

Use memcpy instead of strncpy

@hramrach hramrach force-pushed the hramrach:master branch from 235a280 to 586fabe Jan 25, 2019

@hegdevasant
Copy link
Contributor

left a comment

Looks good to me.

-Vasant

@hramrach hramrach force-pushed the hramrach:master branch 2 times, most recently from 967063b to 586fabe Feb 19, 2019

@hegdevasant

This comment has been minimized.

Copy link
Contributor

commented Mar 3, 2019

@hramrach There are few review comments in mailing list and you are CCed. Can you please address review comments?

-Vasant

libffs: Fix string truncation gcc warning.
Use memcpy as other libffs functions do.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>

@hramrach hramrach force-pushed the hramrach:master branch from 586fabe to 5fec7d1 Mar 13, 2019

@hegdevasant

This comment has been minimized.

Copy link
Contributor

commented Mar 21, 2019

commit bef1ddc
Author: Michal Suchanek msuchanek@suse.de
Date: Wed Mar 13 20:18:15 2019 +0100

libffs: Fix string truncation gcc warning.

-Vasant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.