mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
26dda57cc0
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> |
||
---|---|---|
.. | ||
test | ||
connect_gossip_wire.csv | ||
connect_wire.csv | ||
connectd.c | ||
connectd.h | ||
handshake.c | ||
handshake.h | ||
Makefile | ||
netaddress.c | ||
netaddress.h | ||
peer_exchange_initmsg.c | ||
peer_exchange_initmsg.h | ||
tor_autoservice.c | ||
tor_autoservice.h | ||
tor.c | ||
tor.h |