I was being an absolute moron and not adjusting my two access pointers to the data buffer after a realloc.