When reading setup data, realloc! The old code just merrily scribbled on whatever happened to follow the initial 8-byte allocation. I have no idea how it didn't crash catastrophically long ago.