Issue #3001 has been reported by dcb.
----------------------------------------
Bug #3001: usr.bin/unexpand/unexpand.c: 2 * array index check in wrong place ?
http://bugs.dragonflybsd.org/issues/3001
* Author: dcb
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
1.
usr.bin/unexpand/unexpand.c:125]: (style) Array index 'n' is used before limits
check.
Source code is
for (n = 0; tabstops[n] - 1 < dcol &&
n < nstops; n++)
2.
usr.bin/unexpand/unexpand.c:147]: (style) Array index 'n' is used before limits
check.
Duplicate.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://bugs.dragonflybsd.org/my/account