NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mac68k/52134: sys/arch/mac68k/mac68k/machdep.c:649: poor location for limits check ?
>Number: 52134
>Category: port-mac68k
>Synopsis: sys/arch/mac68k/mac68k/machdep.c:649: poor location for limits check ?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-mac68k-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 03 16:45:00 +0000 2017
>Originator: David Binderman
>Release: cvs-20170403
>Organization:
>Environment:
>Description:
src/sys/arch/mac68k/mac68k/machdep.c:649]: (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