[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 77bf932c83a1a8b1cf627a66656f40dea715d75e
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
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)) {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits