rgb-cln/connectd
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer.
Christian and I both unwittingly used it in form:

	*tal_arr_expand(&x) = tal(x, ...)

Since '=' isn't a sequence point, the compiler can (and does!) cache
the value of x, handing it to tal *after* tal_arr_expand() moves it
due to tal_resize().

The new version is somewhat less convenient to use, but doesn't have
this problem, since the assignment is always evaluated after the
resize.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-15 12:01:38 +01:00
..
test channeld: use pointer for shared secret. 2019-01-08 19:20:28 +01:00
Makefile common: make funding_tx and withdraw_tx share UTXO code. 2018-12-06 23:11:51 +01:00
connect_gossip_wire.csv gossipd: provide connectd with address resolution. 2018-07-25 02:13:52 +00:00
connect_wire.csv connectd: simply use global features from common/features. 2018-12-06 23:11:51 +01:00
connectd.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
connectd.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
handshake.c bolt: Updated the BOLT specification to the latest version 2019-01-15 02:19:56 +00:00
handshake.h channeld: use pointer for shared secret. 2019-01-08 19:20:28 +01:00
netaddress.c wireaddr: update bolt version, remove 'padding' from addresses. 2018-10-28 23:51:05 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
peer_exchange_initmsg.c connectd: don't leak init message. 2018-11-22 05:15:42 +00:00
peer_exchange_initmsg.h connectd/peer_exchange_initmsg: handle peer comms ourselves. 2018-09-28 04:14:28 +00:00
tor.c connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c ccan: update. 2018-10-19 00:53:00 +00:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00