Browse Source
The callback on `key_negotiate` was closing the connection under certain circumstances and would also `free` the key_negotiate, which would then be freed again once it returns. We steal it off of the connection during the callback and doing the free manually afterwards to make sure this can't happen. Thanks to @jgriffiths for tracking this one down. Fixes #142 Reported-By: @bjd and @bgorlickppa-0.6.1
Christian Decker
8 years ago
committed by
Rusty Russell
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue