[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:30:10 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:
--------------------------+------------------------------------
Changes (by Hello71):

 * cc: alex_y_xu@… (added)


Comment:

 also, the following also fails to compile (on x86-64 Linux):

 a.c:
 {{{
 void a() __attribute__((weak));
 void b();

 int main() {
     a();
     b();
     return 0;
 }
 }}}

 b.c:

 {{{
 void a();

 void b() {
     a();
 }
 }}}

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


More information about the tor-bugs mailing list