[vlc-commits] [Git][videolan/vlc][master] macosx: Fix potential deadlock in VLCExtensionsManager
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Jul 29 13:01:23 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8d64f43f by Vikram Kangotra at 2024-07-29T12:28:18+00:00
macosx: Fix potential deadlock in VLCExtensionsManager
Ensure mutex is unlocked if extension index exceeds array
size to prevent deadlock.
- - - - -
1 changed file:
- modules/gui/macosx/windows/extensions/VLCExtensionsManager.m
Changes:
=====================================
modules/gui/macosx/windows/extensions/VLCExtensionsManager.m
=====================================
@@ -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;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d64f43f0e6eb4747cc18dade44e00c33a0ab951
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8d64f43f0e6eb4747cc18dade44e00c33a0ab951
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list