Don't call memcpy with NULL as source