NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-pmax/50737: src/sys/arch/pmax/pmax/machdep.c:527: leap before looking ?



>Number:         50737
>Category:       port-pmax
>Synopsis:       src/sys/arch/pmax/pmax/machdep.c:527: leap before looking ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 01 16:40:00 +0000 2016
>Originator:     David Binderman
>Release:        cvs dated 20160131
>Organization:
>Environment:
>Description:


[src/sys/arch/pmax/pmax/machdep.c:527]: (style) Array index 'i' is used before limits check.


   
   while (prom_memmap->bitmap[i] == 0xff && i < mapbytes) {


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index