#31608: circuit_state_publish() never triggers when a new origin circuit is created ------------------------------+-------------------------------- Reporter: dgoulet | Owner: (none) Type: defect | Status: new Priority: Medium | Milestone: Tor: 0.4.2.x-final Component: Core Tor/Tor | Version: Severity: Normal | Keywords: tor-circuit Actual Points: | Parent ID: Points: 0.1 | Reviewer: Sponsor: | ------------------------------+-------------------------------- In `origin_circuit_init()`, we change the circuit state before allocating the `build_state` but also before a purpose is set.
This means that `circuit_state_publish()` located in `circuit_set_state()` is never called for a new circuit because `CIRCUIT_IS_ORIGIN()` doesn't return true. Which in turn, by chance I believe, made this NULL deref on `build_state` to never happen. This should be fixed regardless. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31608> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs