core-lightning/connectd
Rusty Russell 4e6bac6d36 connectd: fix double-free crash on connection timeout.
tmpctx may not get cleaned immediately, so the timeout (a child of
the struct early_peer at this point) can still outlast the conn.
Do the clearer thing, and explicitly free the timeout.

Changelog-Fixed: connectd: crash on erroneous timeout.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-10-14 16:36:58 +01:00
..
test connectd: do response to gossip queries, don't hand them to gossipd. 2024-07-10 12:21:19 +09:30
connectd.c connectd: ratelimit onion messages 2024-07-10 13:34:00 +02:00
connectd.h connectd: ratelimit onion messages 2024-07-10 13:34:00 +02:00
connectd_gossipd_wire.csv gossipd: don't hand out fds. 2022-02-08 11:15:52 +10:30
connectd_wire.csv connectd: include map of scid->peer node id. 2024-07-10 13:34:00 +02:00
gossip_rcvd_filter.c channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
gossip_rcvd_filter.h channeld: take over gossip_rcvd_filter.c and is_msg_gossip_broadcast. 2022-06-17 14:14:02 +09:30
gossip_store.c connectd: don't suppress channel_announcement without channel_update yet. 2024-02-12 11:43:33 +01:00
gossip_store.h gossipd: remove spam handling. 2024-02-04 09:24:44 +10:30
handshake.c common/utils: macros to help get copy/compare across different types right. 2024-07-23 09:54:47 +09:30
handshake.h connectd: don't try to set TCP_CORK on websocket pipe. 2023-04-10 09:41:56 +09:30
Makefile connectd: do response to gossip queries, don't hand them to gossipd. 2024-07-10 12:21:19 +09:30
multiplex.c connectd: tie gossip query responses into ratelimiting code. 2024-07-10 12:21:19 +09:30
multiplex.h connectd: separate routine to inject message without closing connection. 2024-01-31 14:47:33 +10:30
netaddress.c common: remove websocket type from wireaddr. 2023-06-01 09:28:39 +09:30
netaddress.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
onion_message.c connectd: ratelimit onion messages 2024-07-10 13:34:00 +02:00
onion_message.h lightningd: add routine to directly inject an onion message. 2024-07-10 13:34:00 +02:00
peer_exchange_initmsg.c connectd: fix double-free crash on connection timeout. 2024-10-14 16:36:58 +01:00
peer_exchange_initmsg.h connectd: don't try to set TCP_CORK on websocket pipe. 2023-04-10 09:41:56 +09:30
queries.c connectd: tie gossip query responses into ratelimiting code. 2024-07-10 12:21:19 +09:30
queries.h connectd: tie gossip query responses into ratelimiting code. 2024-07-10 12:21:19 +09:30
sha1.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
sha1.h lightning_websocketd: simple proxy for websockets. 2021-10-22 11:56:30 +02:00
tor.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c common/wireaddr.h: simplify parse_wireaddr API. 2023-06-01 09:28:39 +09:30
tor_autoservice.h connectd: remove enable-autotor-v2-mode option 2022-05-18 10:15:36 +09:30
websocketd.c connectd: pass correct buflen to memmem 2023-04-27 07:41:06 +09:30