[dpdk-dev] [PATCH v2] net/af_xdp: use strlcpy instead of strncpy
Ferruh Yigit
ferruh.yigit at intel.com
Fri Oct 9 18:31:37 CEST 2020
On 10/7/2020 11:29 AM, Bruce Richardson wrote:
> On Wed, Oct 07, 2020 at 09:20:50AM +0000, Ciara Loftus wrote:
>> strncpy may leave the destination buffer not NULL terminated so use
>> strlcpy instead.
>>
>> Coverity issue: 362975
>> Fixes: 339b88c6a91f ("net/af_xdp: support multi-queue")
>> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
>> ---
>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list