https://bugzilla.mindrot.org/show_bug.cgi?id=1885

           Summary: umac.c contains strict aliasing violations
           Product: Portable OpenSSH
           Version: 5.8p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In the function uhash_init, ahc->poly_key_8 points to a UINT64. This is
passed to endian_convert as a void*. It is then cast to a UINT32* and
the buffer is modified. This is a strict aliasing violation. It can
(and did in our case) cause code to be mis-compiled when
-fstrict-aliasing is used (which is true for -O2 in gcc). This
introduced a runtime error in sshd. Refer to:
http://code.google.com/p/chromium-os/issues/detail?id=13479

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to