[dpdk-dev] [dpdk-stable] [PATCH] ethdev: avoid undefined behaviour on configuration copying

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 19 16:47:24 CET 2019


On 11/19/2019 2:57 PM, Ferruh Yigit wrote:
> On 11/19/2019 8:22 AM, Andrew Rybchenko wrote:
>> memcpy() source and destination areas must not overlap and equal
>> pointers is the case which is really met, so handle it.
>>
>> Fixes: 68b931bff287 ("ethdev: eliminate interim variable")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list