]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Initialize destroy_cell_queue.
authorNick Mathewson <nickm@torproject.org>
Fri, 19 Jul 2013 13:49:35 +0000 (09:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 19 Jul 2013 13:49:35 +0000 (09:49 -0400)
Likely fix for the crash bug of #9296, which was introduced through a
combination of #7912 and #8586.  Bugfix not in any released Tor.

src/or/circuitmux.c

index 77cb2f98bcbca028e06eff3154359c12c7b354be..47b423066a6c2118b593b4c1de14b33d446567b8 100644 (file)
@@ -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;
 }