I was working on a program that used getline() in the GNU C library, and I had a strange question. I screwed up and used int* as my second argument, instead of size_t *. Somehow, if I used a pointer to int in lieu of size_t, I get memory corruption later on. Changing the second parameter to the appropriate type fixes the issue, but I'm somewhat confused as to how a change that subtle would lead to wider issues down the line.