]> git.ipfire.org Git - thirdparty/tor.git/commit
Stop logging stack contents when reading a zero-length bandwidth file
authorteor <teor2345@gmail.com>
Wed, 2 May 2018 12:33:21 +0000 (22:33 +1000)
committerteor <teor2345@gmail.com>
Wed, 2 May 2018 12:36:23 +0000 (22:36 +1000)
commitd465bd27ed79b1924cf893d4e810786a491ee613
treeb85afc445b40676622b0c6b97883451aca81d7e4
parent34e7dca9c9e902a58fe8942cef666f1d99d06030
Stop logging stack contents when reading a zero-length bandwidth file

When directory authorities read a zero-byte bandwidth file, they log
a warning with the contents of an uninitialised buffer. Log a warning
about the empty file instead.

Fixes bug 26007; bugfix on 0.2.2.1-alpha.
changes/bug26007 [new file with mode: 0644]
src/or/dirserv.c