[tor-commits] [tor/main] Properly initialize the cc_enabled field in hs intro data.

dgoulet at torproject.org dgoulet at torproject.org
Wed Feb 23 18:19:48 UTC 2022


commit 77bf932c83a1a8b1cf627a66656f40dea715d75e
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Wed Feb 23 00:23:23 2022 +0000

    Properly initialize the cc_enabled field in hs intro data.
---
 src/feature/hs/hs_circuit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c
index 271bf652e7..f8a0e06d90 100644
--- a/src/feature/hs/hs_circuit.c
+++ b/src/feature/hs/hs_circuit.c
@@ -996,6 +996,7 @@ hs_circ_handle_introduce2(const hs_service_t *service,
   data.payload_len = payload_len;
   data.link_specifiers = smartlist_new();
   data.replay_cache = ip->replay_cache;
+  data.cc_enabled = 0;
 
   if (get_subcredential_for_handling_intro2_cell(service,
                                                  &data, subcredential)) {





More information about the tor-commits mailing list