-
Notifications
You must be signed in to change notification settings - Fork 123
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
Crash in [@ core::result::unwrap_failed | neqo_crypto::init::closure$0] #1675
Comments
Looking at the code, we use |
larseggert
added a commit
to larseggert/neqo
that referenced
this issue
Mar 26, 2024
Return `Res<()>` instead. Fixes mozilla#1675
github-merge-queue bot
pushed a commit
that referenced
this issue
Mar 28, 2024
* fix: Don't panic in `neqo_crypto::init()` Return `Res<()>` instead. Fixes #1675 * Update neqo-bin/src/bin/client/main.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-crypto/src/lib.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Update neqo-crypto/tests/init.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * Address code review * Try and improve coverage * Fix the `nss_nodb` case * Fail tests if `init()` fails * Address code review * Update neqo-bin/src/bin/client/main.rs Co-authored-by: Martin Thomson <mt@lowentropy.net> Signed-off-by: Lars Eggert <lars@eggert.org> * InternalError -> CryptoError * Fix merge * clippy --------- Signed-off-by: Lars Eggert <lars@eggert.org> Co-authored-by: Martin Thomson <mt@lowentropy.net>
Reopening this, since we still see related crashes. |
larseggert
added a commit
to larseggert/neqo
that referenced
this issue
Aug 2, 2024
Instead, pass an error up. Fixes mozilla#1675 (again, hopefully)
larseggert
added a commit
that referenced
this issue
Aug 2, 2024
Instead, pass an error up. Fixes #1675 (again, hopefully)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://bugzilla.mozilla.org/show_bug.cgi?id=1854653
Not sure why we can't init NSS, but maybe we should not crash.
The text was updated successfully, but these errors were encountered: