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

Occasional panic in crypto_mbedtls.rs #10

Open
mibes opened this issue Jan 15, 2023 · 0 comments
Open

Occasional panic in crypto_mbedtls.rs #10

mibes opened this issue Jan 15, 2023 · 0 comments

Comments

@mibes
Copy link
Contributor

mibes commented Jan 15, 2023

During pairing with Apple Home a panic was triggered in crypto_mbedtls.rs.
This happened only once and I was unable to reproduce the issue so far. Will update this issue if it happens again.

[2023-01-15T10:52:02Z INFO  matter::data_model::sdm::noc] Handling Command CSRRequest
[2023-01-15T10:52:02Z INFO  matter::data_model::sdm::noc] Received CSR Nonce:OctetStr([52, 226, 46, 191, 82, 255, 246, 250, 115, 248, 188, 209, 33, 137, 211, 219, 31, 19, 195, 59, 234, 232, 71, 18, 40, 161, 131, 213, 218, 57, 218, 134])
thread 'main' panicked at 'attempt to subtract with overflow', src/crypto/crypto_mbedtls.rs:290:19
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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

No branches or pull requests

2 participants
@mibes and others