[tor-bugs] #4922 [Pluggable transport]: obfsproxy: use -fno-strict-aliasing
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Jan 16 20:49:24 UTC 2012
#4922: obfsproxy: use -fno-strict-aliasing
---------------------------------+------------------------------------------
Reporter: nickm | Owner: asn
Type: defect | Status: new
Priority: normal | Milestone:
Component: Pluggable transport | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------------------+------------------------------------------
Obfsproxy is doing the C-OO structures trick, and is using sockaddr/
sockaddr_in/ sockaddr_storage in normal ways. This will make GCC's strict
alias checking generate incorrect code under annoying circumstances. When
building with GCC, obfsproxy should make sure that the -fno-strict-
aliasing flag is passed to the compiler, or expect a big fun surprise.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4922>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list