Very much so. Please use a `GITERR_CHECK_ALLOC` before the memcpy.