[tor-bugs] #18377 [Tor]: connection_free_ of NULL dir_connection_t in test_dir_handle_get_status_vote_next_consensus_signatures_not_found

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 23 02:37:35 UTC 2016


#18377: connection_free_ of NULL dir_connection_t in
test_dir_handle_get_status_vote_next_consensus_signatures_not_found
-----------------------------+------------------------------------
 Reporter:  teor             |          Owner:
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor              |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  test-crash easy  |  Actual Points:
Parent ID:                   |         Points:
  Sponsor:                   |
-----------------------------+------------------------------------
Changes (by teor):

 * keywords:  test-crash => test-crash easy


Comment:

 The best way to fix this is to remove conn and the connection_free_.
 (conn is initialised to NULL, and never used until it is freed.)

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


More information about the tor-bugs mailing list