Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #5572 and #5565 #5591

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

endothermicdev
Copy link
Collaborator

This took more effort to debug than it appears, but I believe this is ultimately the source of the gossip_store offset error! Some of the previously reported node announcement propagation issues may have originated here as well. Accounting for the gossip_store's leading version byte is a simple fix.

The gossip_store version byte was unaccounted for in the initial traversal
of gossip_store_end. This lead to an offset and a bogus message length
field. As a result, an early portion of the gossip_store could have been
skipped, potentially leading to gossip propagation issues downstream.

Fixes ElementsProject#5572 ElementsProject#5565

Changelog-fixed: proper gossip_store operation may resolve some previous gossip propagation issues
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack 6af04d1

Changelog-Fixed should also note that it fixes a crash!

@cdecker cdecker merged commit 4167fe8 into ElementsProject:master Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants