Why does realloc cause a segfault here?

Printable View