add copy of MyFamily element to the descriptor, not the element itself
commitd22d565331c7f8e02abb7720afd447c6b8760f21
authorRoger Dingledine <arma@torproject.org>
Thu, 25 May 2017 03:23:12 +0000 (24 23:23 -0400)
committerRoger Dingledine <arma@torproject.org>
Thu, 25 May 2017 03:37:00 +0000 (24 23:37 -0400)
tree803b5e6f826d3cbe092851833b1943d16124e27f
parenta7e75ff7966d7d3d83d41a47c5b9fa5e3daa2465
add copy of MyFamily element to the descriptor, not the element itself

If we add the element itself, we will later free it when we free the
descriptor, and the next time we go to look at MyFamily, things will
go badly.

Fixes the rest of bug 22368; bugfix on 0.3.1.1-alpha.
changes/bug22368 [new file with mode: 0644]
src/or/router.c