All Bugs
+5 ptsadvanced

The buffer index off-by-one

A C loop that writes one past the buffer end, risking corruption.

cmemorysecurity

Your task

One line in this snippet contains a bug. Click the line you think is wrong.

c