You need to make sure that there aren't any concurrent writes to those pointers in that case.