aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/rdma/device.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-09-30 16:43:25 +0200
committerDave Barach <openvpp@barachs.net>2019-10-01 11:43:20 +0000
commit7ff07354c3a6969e306f75bf28502a46697abcda (patch)
treeb27eb399e06fdcc636d00f1b767181b1f354d756 /src/plugins/rdma/device.c
parent640edcd9016f2381ea1efeaab78e834068c0e862 (diff)
rdma: fix non-NULL terminated C-string overflow
Type: fix Change-Id: I584777825636347c116bd084e348858bcb1b7d75 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/rdma/device.c')
-rw-r--r--src/plugins/rdma/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/rdma/device.c b/src/plugins/rdma/device.c
index 532f4f530ab..cb88849a7e2 100644
--- a/src/plugins/rdma/device.c
+++ b/src/plugins/rdma/device.c
@@ -324,7 +324,7 @@ rdma_async_event_init (rdma_device_t * rd)
t.file_descriptor = rd->ctx->async_fd;
t.error_function = rdma_async_event_error_ready;
t.private_data = rd->dev_instance;
- t.description = format (0, "%s async event", rd->name);
+ t.description = format (0, "%v async event", rd->name);
rd->async_event_clib_file_index = clib_file_add (&file_main, &t);
return 0;