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

Catch invoice decoding exceptions #567

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Catch invoice decoding exceptions #567

merged 2 commits into from
Dec 19, 2023

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Dec 11, 2023

There are a few requirements checked in our secp256k1 wrappers that may throw exceptions on invalid inputs. It's generally a good idea to catch exceptions when validating external, untrusted inputs.

There are a few requirements checked in our secp256k1 wrappers that
may throw exceptions on invalid inputs. It's generally a good idea to
catch exceptions when validating external, untrusted inputs.
@t-bast t-bast merged commit 82c6b82 into master Dec 19, 2023
2 checks passed
@t-bast t-bast deleted the invoice-parsing branch December 19, 2023 13:11
dpad85 added a commit to ACINQ/phoenix that referenced this pull request Jan 22, 2024
See ACINQ/lightning-kmp#567 which catches invoice decoding
exceptions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants