Skip to content

[3.0.x] macosx: fix possible SPMediaKeyTap crash

Marvin Scholz requested to merge ePirat/vlc:epirat-3.0.x-spmediakeytap-fix into 3.0.x

Adding nil to an NSArray would make it raise an NSInvalidArgumentException which in turn leads to an abort in dispatch_once: https://github.com/apple-oss-distributions/libdispatch/blob/55c3a68e9ec47f1c1d5bb9909404ce5f0351edef/src/object.m#L557

Fix #27487 (closed)

(cherry picked from commit 41ec80a1) Signed-off-by: Marvin Scholz epirat07@gmail.com

Merge request reports