Re: [igt-dev] [PATCH i-g-t 06/21] lib: Avoid memcpying 0 bytes from NULL

Arkadiusz Hiler
2019-01-17T11:14:46Z

On Wed, Jan 16, 2019 at 01:20:35PM +0200, Petri Latvala wrote:
> The behaviour of memcpying 0 bytes from NULL is semantically sound,
> but still undefined behaviour.
>
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>