A C loop that writes one past the buffer end, risking corruption.
Your task
One line in this snippet contains a bug. Click the line you think is wrong.