bugzilla-daemon at bugzilla.mindrot.org
2011-Mar-30 00:47 UTC
[Bug 1885] New: umac.c contains strict aliasing violations
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: unassigned-bugs at mindrot.org
ReportedBy: raymes.khoury at gmail.com
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.
bugzilla-daemon at bugzilla.mindrot.org
2011-Mar-30 02:10 UTC
[Bug 1885] umac.c contains strict aliasing violations
https://bugzilla.mindrot.org/show_bug.cgi?id=1885
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Damien Miller <djm at mindrot.org> 2011-03-30 13:10:36
EST ---
configure.ac sets -fno-strict-aliasing for gcc-like compilers for
exactly this reason.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Sep-06 05:33 UTC
[Bug 1885] umac.c contains strict aliasing violations
https://bugzilla.mindrot.org/show_bug.cgi?id=1885
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> 2011-09-06 15:33:09
EST ---
close resolved bugs now that openssh-5.9 has been released
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.