[tor-bugs] #27461 [Core Tor/Tor]: Windows: cast between incompatible function types in main

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 6 00:28:41 UTC 2018


#27461: Windows: cast between incompatible function types in main
----------------------------------------------+----------------------------
 Reporter:  teor                              |          Owner:  teor
     Type:  defect                            |         Status:
                                              |  needs_revision
 Priority:  Medium                            |      Milestone:  Tor:
                                              |  0.3.4.x-final
Component:  Core Tor/Tor                      |        Version:  Tor:
                                              |  0.3.4.1-alpha
 Severity:  Normal                            |     Resolution:
 Keywords:  035-must, 034-must, 034-backport  |  Actual Points:
Parent ID:  #27389                            |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+----------------------------

Comment (by teor):

 Replying to [comment:3 nickm]:
 > We talked about this in #tor-dev -- casting FARPROC through 'void (*)()'
 is probably the answer.

 In this specific case, I think we can stop calling the function on 64-bit
 Windows, because it will never work there.

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


More information about the tor-bugs mailing list