[tor-bugs] #17077 [Tor]: Improve coverage on src/or/config.c (parse_port_config)

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 15 16:25:53 UTC 2016


#17077: Improve coverage on src/or/config.c (parse_port_config)
----------------------------------+------------------------------------
 Reporter:  rjunior               |          Owner:
     Type:  enhancement           |         Status:  needs_review
 Priority:  Medium                |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor                   |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  testing, 028-triaged  |  Actual Points:
Parent ID:                        |         Points:  small
  Sponsor:  SponsorS              |
----------------------------------+------------------------------------

Comment (by olabini):

 Hey,

 Understandable, without context. However, this is part of config_free_all,
 and there were two tor_free(the_tor_version); inside it, this patch just
 removed the duplicated one. If you look at the full function, you will see
 that the_tor_version will still be freed, further down in the function.

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


More information about the tor-bugs mailing list