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

Remove unwraps and other runtime panics that result from invalid input #56

Open
Gnurou opened this issue Nov 25, 2023 · 1 comment
Open

Comments

@Gnurou
Copy link
Collaborator

Gnurou commented Nov 25, 2023

An invalid stream should not make the program panic. This issue is to track the removal of all sources of panic from the code:

  • unwraps as a result of invalid input,
  • Explicit calls to panic and expect,
  • Potentially out-of-bounds accesses in vectors or array (replace them with get).
Gnurou added a commit that referenced this issue Nov 28, 2023
Gnurou added a commit that referenced this issue Nov 28, 2023
@dwlsalmeida
Copy link
Collaborator

I assume we can still panic from logic errors and general sanity-checks from asserts and friends, right?

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