[tor-bugs] #22926 [Core Tor/Tor]: The Tor compression code can call functions that are NULL

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 9 13:09:00 UTC 2018


#22926: The Tor compression code can call functions that are NULL
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  ahf
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.3.3.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.1.1-alpha
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:  1
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by Hello71):

 how exactly does one "enable weak symbols"? as far as I can tell, on both
 Mac and Linux, this process involves inserting `__attribute__((weak))` or
 `#pragma weak` in the actual source files that reference the symbol in
 question. even in cases of shared libraries, AIUI, if executable `a` NEEDS
 library `b.so`, and `a` has a weak symbol `f` with no default, and `b.so`
 has an undefined symbol `f`, then `a` will fail to start.

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


More information about the tor-bugs mailing list