rgb-cln/daemon
Rusty Russell 35ab923163 peer: fix dangling peer->current_htlc->htlc pointer.
It currently points into freed memory once we've make_commit_txs; we
don't currently dereference it after that, but I did in some test code
and got a surprise.  Make a copy in all cases where we set it, so
there can't be lifetime problems.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-03-08 10:36:15 +10:30
..
jsmn@bd9bd55c3a daemon/jsmn: Add submodule for jsmn. 2016-01-22 06:37:13 +10:30
test daemon/test: make --verbose flag less verbose. 2016-03-08 10:35:15 +10:30
.gitignore daemon: first code. 2016-01-22 06:41:47 +10:30
Makefile Makefile: clean daemon files with make clean. 2016-03-08 10:32:15 +10:30
bitcoind.c daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
bitcoind.h patch bitcoind_get_mediantime.patch 2016-01-22 06:45:28 +10:30
configdir.c daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
configdir.h daemon: configuration directory (default ~/.lightning). 2016-01-22 06:41:48 +10:30
controlled_time.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
controlled_time.h daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
cryptopkt.c daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
cryptopkt.h daemon: encrypted communication (version 3) 2016-01-22 06:41:48 +10:30
dns.c dns: don't allow non-stream sockets. 2016-01-22 06:41:49 +10:30
dns.h daemon: rename 'state' to 'dstate' everywhere. 2016-01-22 06:41:49 +10:30
json.c json: routine to create a uint64_t field. 2016-01-22 06:41:48 +10:30
json.h json: routine to create a uint64_t field. 2016-01-22 06:41:48 +10:30
jsonrpc.c daemon: close command. 2016-01-22 06:45:28 +10:30
jsonrpc.h daemon: close command. 2016-01-22 06:45:28 +10:30
lightning-cli.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
lightningd.c daemon: close command. 2016-01-22 06:45:28 +10:30
lightningd.h daemon: close command. 2016-01-22 06:45:28 +10:30
log.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
log.h daemon: add helper to log hex. 2016-01-22 06:41:48 +10:30
netaddr.c daemon: netaddr 2016-01-22 06:41:48 +10:30
netaddr.h daemon: netaddr 2016-01-22 06:41:48 +10:30
packets.c peer: fix dangling peer->current_htlc->htlc pointer. 2016-03-08 10:36:15 +10:30
peer.c peer: fix dangling peer->current_htlc->htlc pointer. 2016-03-08 10:36:15 +10:30
peer.h daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
pseudorand.c daemon: first code. 2016-01-22 06:41:47 +10:30
pseudorand.h daemon: first code. 2016-01-22 06:41:47 +10:30
secrets.c daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
secrets.h daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
timeout.c daemon: dev-mocktime command 2016-01-22 06:45:28 +10:30
timeout.h timeout: oneshot timer support. 2016-01-22 06:45:27 +10:30
watch.c daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30
watch.h daemon: implement unilateral commit. 2016-01-22 06:45:28 +10:30