Dave Nadler - 2021-04-17

Another case; both lines storing into buffer flagged:

if (rxPos >= (sizeof(rxLine) - 1)) break; // buffer overflow
rxLine[rxPos++] = rxData;

rxLine[rxPos] = 0;

(error) Array index out of bounds, cannot determine that rxPos++ is less
than 101 [bughuntingArrayIndexOutOfBounds]
(error) Array index out of bounds, cannot determine that rxPos is less
than 101 [bughuntingArrayIndexOutOfBounds]

HTH!
Best Regards, Dave

Dave Nadler, USA East Coast voice (978) 263-0097, drn@nadler.com, Skype
Dave.Nadler1