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

Precondition panic on Rust 1.78 due to outdated stun_codec #5

Open
jfro opened this issue May 21, 2024 · 0 comments
Open

Precondition panic on Rust 1.78 due to outdated stun_codec #5

jfro opened this issue May 21, 2024 · 0 comments

Comments

@jfro
Copy link
Contributor

jfro commented May 21, 2024

Looks like stun_codec has had the issue resolved in the 0.3 releases, but running in debug profile stunclient against stun_codec 0.2 will yield a precondition panic:

thread 'main' panicked at library/core/src/panicking.rs:156:5:
unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice```

hopefully updating the dep is fairly painless, haven't tried yet but will PR if I find a moment to.
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

1 participant