]> git.ipfire.org Git - thirdparty/lxc.git/commit
Suppress hardcoded table sizes 3090/head
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Thu, 11 Jul 2019 08:01:36 +0000 (10:01 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jul 2019 08:01:36 +0000 (10:01 +0200)
commit6da7363420e5deac4ee086ec435e30441750a82c
tree7a511b17cfe8894553abe676d11612007a6c9963
parent9b0179588698819a82be98d1436792c3c5b5fac0
Suppress hardcoded table sizes

. Use sizeof() instead of hardcoded values
. snprintf(..., size, ""...) is in error if the return code is >= size (not sufficient to set only ">")

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
src/lxc/utils.c