github#2: char was used to store an fgets() result

Thanks to dcb314 for noticing it.