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

Double mutex_unlock in 2024 ww51 ia_ipu release #315

Open
alekdu opened this issue Jan 14, 2025 · 0 comments
Open

Double mutex_unlock in 2024 ww51 ia_ipu release #315

alekdu opened this issue Jan 14, 2025 · 0 comments

Comments

@alekdu
Copy link

alekdu commented Jan 14, 2025

5a1a280#diff-5d8bb31c30c9393a0d7b5d59f0389db65f8189d9270aea922df3564c0614cb25R1039

mutex_unlock(&av->ip.csi2->stream_mutex);
if (av->ip.csi2->stream_count == 0)
entity->pads[0].pipe = NULL;
mutex_unlock(&av->ip.csi2->stream_mutex);

I think the first unlock should be lock ... the code review didn't capture this.

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