Skip to content
Snippets Groups Projects
Commit 8d64f43f authored by Vikram Kangotra's avatar Vikram Kangotra Committed by Steve Lhomme
Browse files

macosx: Fix potential deadlock in VLCExtensionsManager

Ensure mutex is unlocked if extension index exceeds array
size to prevent deadlock.
parent f45dcaf4
No related branches found
No related tags found
1 merge request!5787macosx: Fix potential deadlock in VLCExtensionsManager
Pipeline #496931 passed with stage
in 11 minutes and 40 seconds
......@@ -211,6 +211,7 @@
if ((int) i_ext > p_extensions_manager->extensions.i_size) {
msg_Dbg(p_intf, "can't trigger extension with wrong id %d",
(int) i_ext);
vlc_mutex_unlock(&p_extensions_manager->lock);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment