Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9b35ac11 by François Cartegnie at 2026-05-20T10:56:24+00:00
access: vcd: return error on empty entries

- - - - -


1 changed file:

- modules/access/vcd/vcd.c


Changes:

=====================================
modules/access/vcd/vcd.c
=====================================
@@ -456,7 +456,7 @@ static int EntryPoints( stream_t *p_access )
     memcpy( &entries, sector, CD_SECTOR_SIZE );
 
     i_nb = GetWBE( &entries.i_entries_nb );
-    if( i_nb > 500 )
+    if( i_nb == 0 || i_nb > 500 /* See 6.3.2 */ )
     {
         msg_Err( p_access, "invalid entry points number" );
         return VLC_EGENERIC;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/9b35ac11fb5a712418a6e1c9cf2ef6c5556a7bf5

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/9b35ac11fb5a712418a6e1c9cf2ef6c5556a7bf5
You're receiving this email because of your account on code.videolan.org. 
Manage all notifications: https://code.videolan.org/-/profile/notifications | 
Help: https://code.videolan.org/help


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to