src/virt.c: Fix security issue detected by klocwork related to strncat
authorAntoine Naud <antoinex.naud@intel.com>
Thu, 22 Feb 2018 14:21:50 +0000 (14:21 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Wed, 28 Feb 2018 15:26:59 +0000 (15:26 +0000)
commit28a8eeb9eda5a014acf0ebc1797050cd2d1bcc89
tree29550e0ebce9188342ab6d4aafb69b129248f302
parenta8165663bf8c431a7c3b15a1863b65e24f4b77fd
src/virt.c: Fix security issue detected by klocwork related to strncat

The fix consist in replacing all strncat invocations
with safer macro SSTRNCAT.

Change-Id: I4faee764762f8881d7f7539db6359685b910da44
Signed-off-by: Antoine Naud <antoinex.naud@intel.com>
src/virt.c