On 8/19/2024 12:03 PM, Ferruh Yigit wrote: > 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. >>
Btw, how do you run the GCC analyzer? Is this something can we add to our CI checks? >> >> Signed-off-by: Stephen Hemminger <step...@networkplumber.org> >> > > Acked-by: Ferruh Yigit <ferruh.yi...@amd.com> > Applied to dpdk-next-net/main, thanks. >