String type: Fix off by one error 92/16492/2
authorOle Troan <ot@cisco.com>
Fri, 14 Dec 2018 19:34:29 +0000 (20:34 +0100)
committerDave Barach <openvpp@barachs.net>
Fri, 14 Dec 2018 22:50:51 +0000 (22:50 +0000)
commit884f0aff0e94ee35d7dd3c6dd55041d4872a9a9b
treedf99d8ee8db09d41fb8998ff97b95758f131d13c
parentc5b6b3198069717f836807b57d01607c6711fb02
String type: Fix off by one error

String is not sent nul terminated across API.
The hardest two problems in computer science is cache invalidation
naming and off by one errors.

Change-Id: I36f1952ca955cb2d9dfb4c8120ec48c50ba17991
Signed-off-by: Ole Troan <ot@cisco.com>
src/vat/api_format.c
src/vlibapi/api_types.h
src/vpp/api/api.c