Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ethdev: avoid undefined behaviour on configuration copy
[ upstream commit 6e18704 ] memcpy() source and destination areas must not overlap and equal pointers is the case which is really met, so handle it. Fixes: 68b931b ("ethdev: eliminate interim variable") Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
- Loading branch information