[tor-bugs] #18089 [Tor]: Tor compiled with --enable-expensive-hardening leads to runtime errors (null pointer passing)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 19 13:50:35 UTC 2016


#18089: Tor compiled with --enable-expensive-hardening leads to runtime errors
(null pointer passing)
----------------------------------------+----------------------------------
 Reporter:  gk                          |          Owner:
     Type:  defect                      |         Status:  closed
 Priority:  Medium                      |      Milestone:  Tor:
Component:  Tor                         |  0.2.6.x-final
 Severity:  Critical                    |        Version:  Tor: 0.2.3.25
 Keywords:  027-backport, 026-backport  |     Resolution:  fixed
Parent ID:                              |  Actual Points:
  Sponsor:                              |         Points:
----------------------------------------+----------------------------------

Comment (by teor):

 Replying to [comment:10 nickm]:
 > teor: I've tweaked the patch a little so that we assert on ptr == NULL
 when sz != 0.

 This is going to cause crashes everywhere, we memwipe(NULL,
 sizeof(object)) in a lot of places in the tor codebase.

 It's triggered by the ed25519 unit tests in master, and by something to do
 with pluggable transports in 0.2.7.6.

 Please don't backport this change!

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


More information about the tor-bugs mailing list