News for hackers. Stuff that matters.
Re:What Every C Programmer Should Know About Undefined Behav... by Someone on Sunday May 15, 2011 @04:33AM (#2549603)
I would guess there are two answers:

- macro expansions

- the author took an example from a larger function and simplified it into a minimal test case. For example, there might be a

    #define BUFSIZE 128;
    ...
    j = buffer+i;
    ...
    if( (i < 0) || (i-BUFSIZE >= buffer))
Still weird (i - BUFSIZE could underflow), but more believable.

There are no comments on this comment yet.