logoalt Hacker News

ginko • today at 9:52 AM • 0 replies • view on HN

Yeah, but that only prints an error and keeps going, so next loop it will read past the null terminator. So I think looperhacks is correct.

The function should probably return on error.