Skip to content
This repository was 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 teawater@hyper.sh

@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 <teawater@hyper.sh>
@gnawux
Copy link
Member

gnawux commented Nov 28, 2018

�test this please, hykins

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

Successfully merging this pull request may close these issues.

3 participants