test/event: replace sprintf with snprintf
authorPallantla Poornima <pallantlax.poornima@intel.com>
Wed, 6 Feb 2019 10:43:42 +0000 (10:43 +0000)
committerJerin Jacob <jerinj@marvell.com>
Tue, 2 Apr 2019 01:32:56 +0000 (03:32 +0200)
commit64fc990877cdfe1973a18f47e6887e8a141a6efb
tree5904965276d2b8627c41c9be621ffdce8d8179c7
parentf0959283edb22dbabaf51c1e20fea466284d634e
test/event: replace sprintf with snprintf

sprintf function is not secure as it doesn't check the length of string.
More secure function snprintf is used.

Fixes: 2a9c83ae3b ("test/eventdev: add multi-ports test")
Cc: stable@dpdk.org
Signed-off-by: Pallantla Poornima <pallantlax.poornima@intel.com>
app/test/test_event_eth_rx_adapter.c