[tor-bugs] #32594 [Core Tor/Tor]: Fix CID 1455953: Resource leaks in #32427
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Nov 24 23:45:09 UTC 2019
#32594: Fix CID 1455953: Resource leaks in #32427
-------------------------+-------------------------------------------------
Reporter: teor | Owner: nickm
Type: defect | Status: assigned
Priority: High | Milestone: Tor: 0.4.3.x-final
Component: Core | Version: Tor: unspecified
Tor/Tor | Keywords: 043-must, network-team-roadmap-
Severity: Normal | november
Actual Points: | Parent ID: #32408
Points: 0.1 | Reviewer:
Sponsor: |
Sponsor31-must |
-------------------------+-------------------------------------------------
{{{
** CID 1455953: Resource leaks (RESOURCE_LEAK)
/src/app/config/config.c: 1983 in options_act_reversible()
________________________________________________________________________________________________________
*** CID 1455953: Resource leaks (RESOURCE_LEAK)
/src/app/config/config.c: 1983 in options_act_reversible()
1977 tor_assert(*msg);
1978
1979 options_rollback_log_transaction(log_transaction);
1980 options_rollback_listener_transaction(listener_transaction);
1981
1982 done:
CID 1455953: Resource leaks (RESOURCE_LEAK)
Variable "listener_transaction" going out of scope leaks the storage it
points to.
1983 return r;
1984 }
1985
1986 /** If we need to have a GEOIP ip-to-country map to run with our
configured
1987 * options, return 1 and set *<b>reason_out</b> to a description
of why. */
1988 int
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32594>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list