[tor-bugs] #33424 [Metrics/ExoneraTor]: Ensure ExoneraTorDatabaseImporter closes all BufferedReader/Writer objects
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Feb 23 20:32:40 UTC 2020
#33424: Ensure ExoneraTorDatabaseImporter closes all BufferedReader/Writer objects
-------------------------+------------------------------------
Reporter: efgyirfe784 | Owner: metrics-team
Type: defect | Status: new
Priority: Low | Component: Metrics/ExoneraTor
Version: | Severity: Normal
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------+------------------------------------
If Exceptions occur in ExoneraTorDatabaseImporter's
readImportHistoryToMemory() and writeImportHistoryToDisk(), the
BufferedReader/Writer object they each use may not be closed.
A proposed solution can be seen at
{{{
git at gitlab.com:743zpnpGUq27GgR/exonerator.git
in the branch "close-open-bufferedreaders".
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33424>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list