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

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 19 15:57:15 CET 2019


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>


More information about the stable mailing list