[vlc-commits] [Git][videolan/vlc][master] input: do not lookup extra files on anchor data
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 7 13:08:43 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
22a3d9d2 by Francois Cartegnie at 2023-09-07T12:37:41+00:00
input: do not lookup extra files on anchor data
- - - - -
1 changed file:
- src/input/input.c
Changes:
=====================================
src/input/input.c
=====================================
@@ -3237,6 +3237,10 @@ static void InputGetExtraFiles( input_thread_t *p_input,
if( **ppsz_access && strcmp( *ppsz_access, "file" ) )
return;
+ /* reject files with anchor data from stream extractor */
+ if( strpbrk( mrl, "#?" ) )
+ return;
+
const size_t i_path = strlen(mrl);
for( size_t i = 0; i < ARRAY_SIZE( patterns ); ++i )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/22a3d9d20fcfc46a0d88c5ca8daffb72236ce43a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/22a3d9d20fcfc46a0d88c5ca8daffb72236ce43a
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