mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
897c53ce1c
has_len_fields() doesn't cover our blacklist of variable types, so if we have an array of them, this logic is wrong. This happens in the the bolt13 patch: ```C struct tlv_offer_tlvs_blindedpath { struct pubkey blinding; struct onionmsg_path **path; }; ``` Before: wire/gen_bolt13_tlv.c: ```C for (size_t i = 0; i < tal_count(r->blindedpath->path); i++) towire_onionmsg_path(&ptr, r->blindedpath->path + i); ``` After: ```C for (size_t i = 0; i < tal_count(r->blindedpath->path); i++) towire_onionmsg_path(&ptr, r->blindedpath->path[i]); ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
gen | ||
test | ||
bench-gossipd.sh | ||
build-release.sh | ||
check-bolt.c | ||
check-includes.sh | ||
check-manpage.sh | ||
check-markdown.sh | ||
check-setup_locale.sh | ||
check-spelling.sh | ||
docker-entrypoint.sh | ||
generate-wire.py | ||
headerversions.c | ||
hsmtool.c | ||
Makefile | ||
mockup.sh | ||
refresh-submodules.sh | ||
rel.sh | ||
repro-build.sh | ||
update-mocks.sh |