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: sta...@dpdk.org
Signed-off-by: Pallantla Poornima
---
lib/librte_vhost/v
> >Cc: Pattan, Reshma ; Bie, Tiwei
> >; Wang, Zhihong ;
> >sta...@dpdk.org
> >Subject: Re: [dpdk-dev] [PATCH] vhost: fix sprintf with snprintf
> >
> >
> >
> >On 2/4/19 8:28 AM, Pallantla Poornima wrote:
> >> sprintf function is not secure
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: sta...@dpdk.org
Signed-off-by: Pallantla Poornima
---
lib/librte_vhost/v
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: sta...@dpdk.org
Signed-off-by: Pallantla Poornima
---
lib/librte_vhost/vdpa.c | 2 +-
1 file changed, 1 insertion(+), 1 del
4 matches
Mail list logo