Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

container.c: fix warnings of "format-overflow=" with new GCC #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

teawater
Copy link
Member

Change sprintf to snprintf and check the return values of snprintf
to handle this warning.

Fixes: #364

Signed-off-by: Hui Zhu [email protected]

@Jimmy-Xu
Copy link

Can one of the admins verify this patch?

Change sprintf to snprintf and check the return values of snprintf
to handle this warning.

Fixes: hyperhq#364

Signed-off-by: Hui Zhu <[email protected]>
@gnawux
Copy link
Member

gnawux commented Nov 28, 2018

�test this please, hykins

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants