On Mon, Apr 6, 2009 at 2:33 AM, bearophile <[email protected]> wrote:
> Robert Fraser Wrote:
>> I'm assuming overflow<
>
> Which could be 95% solved by buffer overflow checks :-)
> My ears are ringing.
For what it's worth, mine aren't. I have never had a bug due to
integer overflow. No, I take that back - I have had bugs relating to
integer overflow, but they were exclusively limited to things like:
for(uint i = len; i >= 0; i--)
....
That is, signed/unsigned comparisons. This is the only time I've ever
had such problems.