aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitmux.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-19 09:49:35 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-19 09:49:35 -0400
commit18845c550722d5fa7d68bdee6a5e2090acb89a6f (patch)
treef323fb95aca03541981dc37ebd76b324f54994f5 /src/or/circuitmux.c
parente1d3b444952d861e4fbe01b5a9b0bd2985892f41 (diff)
downloadtor-18845c550722d5fa7d68bdee6a5e2090acb89a6f.tar
tor-18845c550722d5fa7d68bdee6a5e2090acb89a6f.tar.gz
Initialize destroy_cell_queue.
Likely fix for the crash bug of #9296, which was introduced through a combination of #7912 and #8586. Bugfix not in any released Tor.
Diffstat (limited to 'src/or/circuitmux.c')
-rw-r--r--src/or/circuitmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitmux.c b/src/or/circuitmux.c
index 77cb2f98b..47b423066 100644
--- a/src/or/circuitmux.c
+++ b/src/or/circuitmux.c
@@ -383,6 +383,7 @@ circuitmux_alloc(void)
rv = tor_malloc_zero(sizeof(*rv));
rv->chanid_circid_map = tor_malloc_zero(sizeof(*( rv->chanid_circid_map)));
HT_INIT(chanid_circid_muxinfo_map, rv->chanid_circid_map);
+ cell_queue_init(&rv->destroy_cell_queue);
return rv;
}