stats: fix counters name overflow 43/32643/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 8 Jun 2021 14:27:38 +0000 (16:27 +0200)
committerOle Tr�an <otroan@employees.org>
Wed, 16 Jun 2021 07:41:31 +0000 (07:41 +0000)
commit26c6fffa7ac30bda79432a6d46d6dd5d286b7cb6
tree58e55750328679f76c73af2e1ded7f68604893ee
parentc863a9134051f5651a829547fdcdc1a0d7b14831
stats: fix counters name overflow

sm_directory_vector_by_name is a C-string hashtable, make sure the names
are NULL-terminated.

Type: fix

Change-Id: If44456ef9da69ed012f2b981b58ce732663af67d
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vpp/stats/stat_segment_provider.c