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

multi: update to tlv/v1.1.0 and use new *P2P tlv decoding variants #7227

Merged
merged 2 commits into from
Dec 5, 2022

Conversation

Crypt-iQ
Copy link
Collaborator

@Crypt-iQ Crypt-iQ commented Dec 2, 2022

This changes the call-sites in several places to use the *P2P variants to not trigger an OOM on untrusted input. This makes the code safe with the new tlv version. Note that the call-sites prior to this change were also safe.

@Crypt-iQ Crypt-iQ added the tlv label Dec 2, 2022
@saubyk saubyk added this to the v0.16.0 milestone Dec 2, 2022
Copy link
Collaborator

@morehouse morehouse left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@guggero guggero requested a review from positiveblue December 5, 2022 08:27
@guggero
Copy link
Collaborator

guggero commented Dec 5, 2022

Can you add an entry to the release notes please?

Copy link
Contributor

@positiveblue positiveblue left a comment

Choose a reason for hiding this comment

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

Ready to be merged after the release notes have been updated 👍

This changes the call-sites in several places to use the *P2P variants
to not trigger an OOM on untrusted input. This makes the code safe with
the new tlv version. Note that the call-sites prior to this change were
also safe.
@Crypt-iQ
Copy link
Collaborator Author

Crypt-iQ commented Dec 5, 2022

updated w/ notes

@guggero guggero merged commit 625c6f1 into lightningnetwork:master Dec 5, 2022
@Crypt-iQ Crypt-iQ deleted the tlv_change_to_p2p branch December 5, 2022 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants