Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 08:46:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200989] usr.sbin/ppp/mppe.c:171: bad if statement ?
Message-ID:  <bug-200989-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 200989
           Summary: usr.sbin/ppp/mppe.c:171: 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

usr.sbin/ppp/mppe.c:171]: (warning) Logical conjunction always evaluates to
false: EXPR < 33 && EXPR > 250.

  if (*proto < 0x21 && *proto > 0xFA) {

Maybe

  if (*proto < 0x21 || *proto > 0xFA) {

-- 
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-200989-8>