[tor-bugs] #30206 [Obfuscation/Snowflake]: Segfault in proxy-go

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 20:28:08 UTC 2019


#30206: Segfault in proxy-go
-----------------------------------+------------------------
 Reporter:  irl                    |          Owner:  (none)
     Type:  defect                 |         Status:  new
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:                         |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------

Comment (by cohosh):

 This has been occurring as a result of the proxy-go deadlock patch from
 #25688.

 The problem part of the code is here:
 {{{
         // Set a timeout on peerconnection. If the connection state has
 not
         // advanced to PeerConnectionStateConnected in this time,
         // destroy the peer connection and return the token.
         go func() {
                 <-time.After(dataChannelTimeout)
                 if pc.ConnectionState() !=
 webrtc.PeerConnectionStateConnected {
 }}}
 where pc (or some members of it) are nil and cause an invalid memory
 access

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30206#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list