[vlc-commits] demux: mkv: preloaded segments with no tracks are preloaded

Steve Lhomme git at videolan.org
Wed Aug 14 18:13:33 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Aug  8 17:16:52 2019 +0200| [0f71d03f65d54c1cc5b21bdb10124f469bf7ec21] | committer: Hugo Beauzée-Luyssen

demux: mkv: preloaded segments with no tracks are preloaded

A Segment with no Tracks is allowed by the specs.

CVE-2019-14777, CVE-2019-14778
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f71d03f65d54c1cc5b21bdb10124f469bf7ec21
---

 modules/demux/mkv/matroska_segment.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 43247cae46..c0b8ad8212 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -611,7 +611,6 @@ bool matroska_segment_c::Preload( )
             if ( tracks.size() == 0 )
             {
                 msg_Err( &sys.demuxer, "No tracks supported" );
-                return false;
             }
             i_tracks_position = el->GetElementPosition();
         }



More information about the vlc-commits mailing list