That looks wrong. Should memcpy() be marked as nonnull as the length can be 0? In any case we don't want to be asserting in such cases, rather just doing:
if (temp.text) memcpy (...)
That looks wrong. Should memcpy() be marked as nonnull as the length can be 0? In any case we don't want to be asserting in such cases, rather just doing:
if (temp.text) memcpy (...)