[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #4922 [Pluggable transport]: obfsproxy: use -fno-strict-aliasing
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs