Avoid calling memcpy() with a NULL pointer.

This is not permitted by the C99 standard even when the length is
zero. Go figure.
1 file changed