The Register® — Biting the hand that feeds IT

Feeds

Post: Off-by-ones

Lee Dowling

Off-by-ones 

In Buffer overflow bug bites Linux wireless component

Unhappy

In each case, the SVN commits relevant to this appear to be off-by-ones (e.g. > instead of >=, "size" instead of "size+1"), although they are mixed in with fixes for other problems so perhaps I missed something.

It's amazing the difference a "+1" can make to some code.

Forums

Password reminder