nfv/mtce-guest
haochuan b1cede2bed Fix destination buffer too small issue by static analyze tool
code with strcpy is not proposed, replace with strncpy

Test:
deploy simplex system, create qcow2 file with guest-client and json-c
build and install. Use created qcow2 to create image named test, and
create flavor named test_flavor with add guest:heartbeat property in
metadata. Create instance with created image and flavor. Lanched the
instance, launch guestClient process with command such command
  '# guestClient --device /dev/virtio-port/cgcs.heart'
Check guestAgent in host file /var/log/guestAgent.log, confirm
heartbeat enabled as "controller-0 c7ee5d00-e782-4d0a-8292-7724b3afc4e9
enabled heartbeating status change to 'enabled'"

Closes-Bug: 1794908

Change-Id: Ieb774882802127cfffef1291cf1bcc7a4d6f8055
Signed-off-by: Martin Chen <haochuan.z.chen@intel.com>
2018-11-27 10:13:07 +08:00
..
centos Decouple Guest-server/agent from stx-metal 2018-09-19 11:38:04 -04:00
src Fix destination buffer too small issue by static analyze tool 2018-11-27 10:13:07 +08:00
PKG-INFO Decouple Guest-server/agent from stx-metal 2018-09-19 11:38:04 -04:00