c11 safe string handling support
Change-Id: Ied34720ca5a6e6e717eea4e86003e854031b6eab Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:

committed by
Damjan Marion

parent
b9a4c445c1
commit
b7b929931a
@@ -80,7 +80,7 @@ vl_api_svs_plugin_get_version_t_handler (vl_api_svs_plugin_get_version_t * mp)
|
||||
}
|
||||
|
||||
rmp = vl_msg_api_alloc (msg_size);
|
||||
memset (rmp, 0, msg_size);
|
||||
clib_memset (rmp, 0, msg_size);
|
||||
rmp->_vl_msg_id =
|
||||
ntohs (VL_API_SVS_PLUGIN_GET_VERSION_REPLY + svs_base_msg_id);
|
||||
rmp->context = mp->context;
|
||||
|
Reference in New Issue
Block a user