A recent change claimed to fix an off-by-one error in the OOB-portcompletion handler, but instead introduced such an error. This couldspecifically led to modem-status changes going unnoticed, effectivelybreaking TIOCMGET.

Note that the offending commit fixes a loop-condition underflow and ismarked for stable, but should not be backported without this fix.