Project

General

Profile

Bug #3000

usr.sbin/ndp/ndp.c: 2 * array index check in wrong place ?

Added by dcb 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/31/2017
Due date:
% Done:

0%


Description

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.

History

#1 Updated by dillon 6 months ago

  • Status changed from New to Closed

Fix committed by swildner

Also available in: Atom PDF