Files
lightning/lightningd
Rusty Russell 8a893df951 lightningd/subd: fix use-after-free, cleanup subd_send_msg unnecessary tal_dup.
subd_req() needs to get the type before it calls subd_send_msg, because
if it's take() then msg_enqueue() may reallocate.

Which also made me realize that subd_send_message() should not try to dup,
since msg_enqueue() handles that itself.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-14 10:57:48 +10:30
..
2017-03-11 07:19:32 +10:30
2017-02-24 16:22:56 +10:30
2017-02-24 16:22:56 +10:30
2017-03-11 07:19:32 +10:30
2017-03-13 11:26:48 +01:00