It doesn't mention anywhere that newmextra() is responsible for initializing struct mextra with null pointers to the various sub-structs. So, when one follows the instructions and doesn't know or remember to do this, they'll get segfaults when something tries to read the uninitialized pointer to their new struct.
7.4 KiB
7.4 KiB