NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-x68k/52135: sys/arch/x68k/x68k/machdep.c:696: poor location for limits check ?
>Number: 52135
>Category: port-x68k
>Synopsis: sys/arch/x68k/x68k/machdep.c:696: poor location for limits check ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-x68k-maintainer
>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/arch/x68k/x68k/machdep.c:696]: (style) Array index 'i' is used before limits check.
Source code is
for (i = 0; m->ram_segs[i].size && i < M68K_NPHYS_RAM_SEGS; i++)
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index