hsa: fix memory management bugs 77/22377/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 11 Sep 2019 14:40:04 +0000 (16:40 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 30 Sep 2019 15:23:02 +0000 (15:23 +0000)
commit003dd32489d768a8fc227da8b7218bc11126a592
tree9f967eff19f0660cb18cb603ff16c20a1801245b
parentfcb879c96c9c8f237a5d057a8b105f2c120672d5
hsa: fix memory management bugs

Fix use-after-free and non-null terminated string.

Type: fix

Change-Id: Ibba2a6cae68c612a34477aa813b3bf27a0c8fc1f
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit 58519563acc0933771172941291b7d0de2ffeddc)
src/plugins/hs_apps/echo_client.c
src/plugins/hs_apps/sapi/vpp_echo.c