You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because it's undefined behavior in Rust to have an enum where the contents are out of range for the enum definition, and there's no rustls_result corresponding to 0.
To fix this, we need to do some validation any time we accept a rustls_result from C. I think that's just in rustls_error.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
Result:
This is because it's undefined behavior in Rust to have an enum where the contents are out of range for the enum definition, and there's no rustls_result corresponding to 0.
To fix this, we need to do some validation any time we accept a rustls_result from C. I think that's just in rustls_error.
The text was updated successfully, but these errors were encountered: