NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/50739: src/usr.bin/bdes/bdes.c: 2 * off by one error ?
>Number: 50739
>Category: bin
>Synopsis: src/usr.bin/bdes/bdes.c: 2 * off by one error ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 01 16:50:00 +0000 2016
>Originator: David Binderman
>Release: cvs dated 20160131
>Organization:
>Environment:
>Description:
1.
[src/usr.bin/bdes/bdes.c:428]: (style) Array index 'i' is used before limits check.
for (i = 0; ibuf[i] && i < 16; i++)
2.
[src/usr.bin/bdes/bdes.c:448]: (style) Array index 'i' is used before limits check.
Duplicate.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index