On 2/4/19 8:28 AM, Pallantla Poornima wrote:
sprintf function is not secure as it doesn't check the length of string.
More secure function snprintf is used.

Fixes: d7280c9fff ("vhost: support selective datapath")
Cc: [email protected]

Signed-off-by: Pallantla Poornima <[email protected]>
---
  lib/librte_vhost/vdpa.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)


Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

Reply via email to