[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntp-bugs
Subject:    [ntp:bugs] [Bug 2797] New: ntp-keygen trapped in endless loop for MD5 keys on big-endian machines
From:       bugzilla-daemon () ntp ! org
Date:       2015-03-30 17:53:05
Message-ID: bug-2797-1197 () http ! bugs ! ntp ! org/
[Download RAW message or body]

https://bugs.ntp.org/show_bug.cgi?id=2797

             Bug #: 2797
           Summary: ntp-keygen trapped in endless loop for MD5 keys on
                    big-endian machines
           Product: ntp
           Version: 4.2.8
          Platform: PC
        OS/Version: All
            Status: CONFIRMED
          Severity: critical
          Priority: P5
         Component: crypto
        AssignedTo: stenn@ntp.org
        ReportedBy: perlinger@ntp.org
                CC: bugs@ntp.org
    Classification: Unclassified


Creating MD5 keys will fail on big endian machines: A random byte is placed
into the lowest memory address of an int, and the LSB is extracted from this
integer. This is the same byte on little-endian machines, but on big endian
machines the wrong end of the integer is extracted over and over again. If this
byte is rejected, the program is trapped in an infinite loop; if the byte is
accepted as a random byte, the program terminates but the byte sequence is
probably anything but random.

-- 
Configure bugmail: https://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bugs-announce mailing list
bugs-announce@lists.ntp.org
http://lists.ntp.org/listinfo/bugs-announce
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic