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

fix: check if opus created #1166

Merged
merged 2 commits into from May 14, 2022
Merged

Conversation

khodand
Copy link
Contributor

@khodand khodand commented Apr 20, 2022

Occasionally it causes panic when secretbox.open failed.
Below in the code we read extlen := binary.BigEndian.Uint16(p.Opus[2:4])
But opus can be nil.
I encountered this problem myself.

@FedorLap2006 FedorLap2006 changed the title fix: check is opus created fix: check if opus created Apr 20, 2022
@FedorLap2006 FedorLap2006 added the fix Pull requests and issues related to bug fixes and structural inconsistencies label Apr 20, 2022
@FedorLap2006
Copy link
Collaborator

Thanks for your contribution!

@FedorLap2006 FedorLap2006 merged commit fa14e19 into bwmarrin:master May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull requests and issues related to bug fixes and structural inconsistencies
Projects
None yet
2 participants