On 8/14/2024 3:34 AM, Stephen Hemminger wrote: > Calling memcpy with a null pointer even if zero length is > undefined, so check if data_length is zero. > Problem reported by Gcc analyzer. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> >
Acked-by: Ferruh Yigit <ferruh.yi...@amd.com> Applied to dpdk-next-net/main, thanks.