[tor-bugs] #10423 [Tor]: Avoid bad free on failure to dump microdescriptor.
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 17 18:04:59 UTC 2013
#10423: Avoid bad free on failure to dump microdescriptor.
-----------------------+------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-relay | Actual Points:
Parent ID: | Points:
-----------------------+------------------------------------
When we wipe out an unwriteable microdescriptor's body because
dump_microdescriptor() failed, we forgot to clear its body field too.
This will cause trouble later when we call microdesc_free() on that
descriptor.
This is a problem in our #9047 fix.
Spotted by bobnomnom.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10423>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list