Project

General

Profile

Actions

Bug #2999

closed

usr.bin/bdes/bdes.c: 2 * array index check in wrong place ?

Added by dcb about 7 years ago. Updated about 7 years ago.

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

0%

Estimated time:

Description

1.

usr.bin/bdes/bdes.c:365]: (style) Array index 'i' is used before limits check.

Source code is

for (i = 0; ibuf[i] && i < 16; i++)

2.

usr.bin/bdes/bdes.c:385]: (style) Array index 'i' is used before limits check.

Duplicate.

Actions #1

Updated by dillon about 7 years ago

  • Status changed from New to Closed

Fix committed by swildner

Actions

Also available in: Atom PDF