hyperstart icon indicating copy to clipboard operation
hyperstart copied to clipboard

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

Open teawater opened this issue 7 years ago • 2 comments

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

Fixes: #364

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

teawater avatar Nov 26 '18 08:11 teawater

Can one of the admins verify this patch?

Jimmy-Xu avatar Nov 26 '18 08:11 Jimmy-Xu

test this please, hykins

gnawux avatar Nov 28 '18 02:11 gnawux