[vlc-commits] [Git][videolan/vlc][master] demux: mkv: fix title reading boundaries
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Thu Jul 23 12:08:04 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
666af383 by Steve Lhomme at 2026-07-23T13:37:54+02:00
demux: mkv: fix title reading boundaries
Fixes #29671
- - - - -
1 changed file:
- modules/demux/mkv/chapter_command_dvd.cpp
Changes:
=====================================
modules/demux/mkv/chapter_command_dvd.cpp
=====================================
@@ -94,7 +94,7 @@ std::string dvd_chapter_codec_c::GetCodecName( bool f_for_title ) const
result = "First Played";
else if ( p_data[1] == 0xC0 )
result = "Video Manager";
- else if ( p_data[1] == 0x80 )
+ else if ( p_data[1] == 0x80 && p_private_data->GetSize() > 3)
{
uint16_t i_title = (p_data[2] << 8) + p_data[3];
char psz_str[20];
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/666af383f127bdb1e788d69b72481d11e1cb2a63
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/666af383f127bdb1e788d69b72481d11e1cb2a63
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
More information about the vlc-commits
mailing list