If a WT_ITEM is empty, then the ->data is NULL. In this case this line fails with address sanitizer:
memcpy(*pp, item->data, item->size);
It can't cause any issues in production since ->size is zero too.
If a WT_ITEM is empty, then the ->data is NULL. In this case this line fails with address sanitizer:
memcpy(*pp, item->data, item->size);
It can't cause any issues in production since ->size is zero too.