Reassign the buffer to the pointer so that we don't overwrite memory.