Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 08:44:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200988] sys/mips/nlm/cms.c:205: bad if statement ?
Message-ID:  <bug-200988-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200988

            Bug ID: 200988
           Summary: sys/mips/nlm/cms.c:205: bad if statement ?
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

sys/mips/nlm/cms.c:205]: (warning) Logical conjunction always evaluates to
false: srcid < 0 && srcid >= 1024.

    if (srcid < 0 && srcid >= 1024) {

Maybe

    if (srcid < 0 || srcid >= 1024) {

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200988-8>