NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/52136: sys/dev/ic/igsfb_subr.c:440: poor location for limits check ?
>Number: 52136
>Category: kern
>Synopsis: sys/dev/ic/igsfb_subr.c:440: poor location for limits check ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 03 16:50:00 +0000 2017
>Originator: David Binderman
>Release: cvs-20170403
>Organization:
>Environment:
>Description:
sys/dev/ic/igsfb_subr.c:440]: (style) Array index 'i' is used before limits check.
Source code is
while ((strcmp(dc->dc_modestring, videomode_list[i].name) != 0) &&
( i < videomode_count)) {
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index