linux-cp: fix vector-used-a-C-string overflow 52/31252/3
authorBenoît Ganne <bganne@cisco.com>
Fri, 12 Feb 2021 15:25:07 +0000 (16:25 +0100)
committerNeale Ranns <neale@graphiant.com>
Thu, 25 Feb 2021 09:41:01 +0000 (09:41 +0000)
commit8b4d0dd5ba8ea42063b0700f39c2165486b8c9a0
treea31829153d91edc63b4f3f4a24c533a0ebf35263
parent7a29a2d400bbc3740a6a98863f290aa654d5f724
linux-cp: fix vector-used-a-C-string overflow

lip_host_name is a non-NULL terminated vector, not a NULL-terminated
C-string.

Type: fix

Change-Id: Ie5da59bc5680be72251904467d77b18263c882f8
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/linux-cp/lcp_api.c
src/plugins/linux-cp/lcp_interface.c