[dpdk-dev] [PATCH] examples/vdpa: replace strncpy with strscpy function

Ye Xiaolong xiaolong.ye at intel.com
Wed Oct 3 22:28:28 CEST 2018


On 10/03, Maxime Coquelin wrote:
>
>
>On 10/03/2018 09:34 PM, Xiaolong Ye wrote:
>> rte_strscpy is safer to use.
>> 
>> Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
>> ---
>>   examples/vdpa/main.c | 5 +++--
>>   1 file changed, 3 insertions(+), 2 deletions(-)
>> 
>
>Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
>
>I'll squash it into initial commit.

Thanks.

Xiaolong
>
>Thanks,
>Maxime


More information about the dev mailing list