Issue #3000 has been reported by dcb.

----------------------------------------
Bug #3000: usr.sbin/ndp/ndp.c: 2 * array index check in wrong place ?
http://bugs.dragonflybsd.org/issues/3000

* Author: dcb
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
1.

usr.sbin/ndp/ndp.c:1046]: (style) Array index 'i' is used before limits check.

Source code is

    for (i = 0 ; DR.if_index && i < DRLSTSIZ ; i++) {

2.

usr.sbin/ndp/ndp.c:1210]: (style) Array index 'i' 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

Reply via email to