[Bug 200989] usr.sbin/ppp/mppe.c:171: bad if statement ?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 20 08:46:20 UTC 2015


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 at FreeBSD.org
          Reporter: dcb314 at 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.


More information about the freebsd-bugs mailing list