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

Maxime Coquelin maxime.coquelin at redhat.com
Wed Oct 3 16:13:10 CEST 2018



On 10/03/2018 10:28 PM, Ye Xiaolong wrote:
> 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.

Squashed and pushed to dpdk-next-virtio.

Maxime


More information about the dev mailing list