Y
Hacker News
new
|
ask
|
show
|
jobs
by
ginko
13 days ago
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.