mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
`tal_fmt` overallocates the returned string under some circumstances, meaning that the trailer of the formatted string is unset, but still considered in `tal_len`. The solution then is to truncate the formatted string to the real string length. Only necessary here, since we mix strings and `tal_len`. Signed-off-by: Christian Decker <decker.christian@gmail.com> |
||
---|---|---|
.. | ||
test | ||
broadcast.c | ||
broadcast.h | ||
gossip.c | ||
gossip_wire.csv | ||
handshake.c | ||
handshake.h | ||
Makefile | ||
routing.c | ||
routing.h |