-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Bug]: Advanced Manual Setup for LN channel can result in crash #2253
Comments
Can confirm, the app is crashing when trying to add a peer with an invalid pubkey. I can add validation to check for correct length but that's not enough to prevent this. @Jasonvdb FYI Simulator.Screen.Recording.-.iPhone.15.-.2024-09-26.at.22.23.35.mp4 |
Crashing on Android as well: Screen.Recording.2024-09-27.at.13.18.01.mov |
Yeah length check doesn't seem like enough here. Needs proper validation. |
This should do the trick: synonymdev/react-native-ldk#274 I'm testing with |
@pwltr It's interesting you get a crash on android because I see a toast (real device) |
Still strangely stopped being able to replicate the crash since Friday but I believe this does the trick: #2275 Using the actual curve to validate the public key. |
Unable to reproduce crash on android using 0d67faa
Tested again on Android and iOS using release 1.0.5 (137) |
Describe the bug
Bitkit crashes if the Manual Setup flow form is not filled in and the Continue button is pressed.
(This may have persistently broken ldk, need to test more)
Reproduce
Screenshots / Recording
Simulator.Screen.Recording.-.iPhone.15.-.2024-09-26.at.22.23.35.mp4
Screen.Recording.2024-09-27.at.13.18.01.mov
Operating system
iOS / Android
Bitkit version
1.0.5 (136)
Log output
crash-report.txt
The text was updated successfully, but these errors were encountered: