tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 144bc5026e90421bb814f35f2b61f3ffa0d078f8
parent 943559b18066e126652450df4402dca74ba1baa0
Author: Neel Chauhan <neel@neelc.org>
Date:   Fri, 19 Apr 2019 09:17:29 -0400

Initialize rate_limited to false in directory_get_from_hs_dir()

Diffstat:
Msrc/feature/rend/rendclient.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c @@ -469,7 +469,7 @@ directory_get_from_hs_dir(const char *desc_id, /* Automatically pick an hs dir if none given. */ if (!rs_hsdir) { - bool rate_limited; + bool rate_limited = false; /* Determine responsible dirs. Even if we can't get all we want, work with * the ones we have. If it's empty, we'll notice in hs_pick_hsdir(). */