[tor-bugs] #32588 [Core Tor/Tor]: Setting ORPort [ipv6]:auto mistakenly advertises port 94

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 19 12:33:03 UTC 2020


#32588: Setting ORPort [ipv6]:auto mistakenly advertises port 94
-------------------------------------------------+-------------------------
 Reporter:  arma                                 |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  accepted
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.3.9-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  043-should, ipv6, memory-safety,     |  Actual Points:  0.8
  security-low, 035-backport, 040-backport,      |
  041-backport, 042-backport                     |
Parent ID:  #33048                               |         Points:  1
 Reviewer:  ahf                                  |        Sponsor:
                                                 |  Sponsor55-must
-------------------------------------------------+-------------------------

Comment (by nickm):

 FWIW, this isn't an "uninitialized RAM" bug: The reason it says 94 is that
 the "ipv6_port" field in the cfg_port_t is set to CFG_AUTO_PORT, which is
 0xc4005e in hex.  Once that's cast to a uint16_t, we get 0x5e, which is
 94.

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


More information about the tor-bugs mailing list