ipsec: fix ipsec format overflow 68/19268/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 29 Apr 2019 14:31:24 +0000 (16:31 +0200)
committerDamjan Marion <dmarion@me.com>
Wed, 1 May 2019 07:36:48 +0000 (07:36 +0000)
commite7a527f928a65c4f489ba2f6d393de1924f161bd
treee12780edbd90f03b59a0a0cf65b5e0d17c932f67
parent1f8eeb7cb90b51c8682818bb0d68cc121f08b481
ipsec: fix ipsec format overflow

hi->name is not NULL-terminated. Use specialized format function which
does the right thing.

Change-Id: Iadda51461af0c1ad4f38a6d24b76e816020f35c8
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/ipsec/ipsec_format.c