[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs