[tor-bugs] #17417 [Tor]: fail self-test for cert_new in v0.2.8.0-alpha-dev NetBSD 6_Stable

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 24 18:59:59 UTC 2015


#17417: fail self-test for cert_new in v0.2.8.0-alpha-dev NetBSD 6_Stable
--------------------+------------------------------------
 Reporter:  yancm   |          Owner:
     Type:  defect  |         Status:  needs_review
 Priority:  Medium  |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor     |        Version:  Tor: unspecified
 Severity:  Normal  |     Resolution:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
  Sponsor:          |
--------------------+------------------------------------

Comment (by yancm):

 Ah, ok... If I understand the short of it; with bleeding edge OpenSSL, ret
 is passed by value to tor_x509_cert_free() so ret cannot be set to NULL
 there? And later in the test subroutine, we free ret again?

 It seems odd to me to call a "free" anything (memory/records/etc) without
 returning a success or fail code, or some other status that can be reacted
 to...then you know when you NULL ret it has indeed been successfully
 free'd first... maybe we do not care if we NULL ret even if it was not
 successfully free'd?

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


More information about the tor-bugs mailing list