[igt-dev] [PATCH i-g-t 06/21] lib: Avoid memcpying 0 bytes from NULL
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Thu Jan 17 11:14:41 UTC 2019
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 at intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
More information about the igt-dev
mailing list