Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d1ffaaf1
Commit
d1ffaaf1
authored
Nov 30, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mkv: fix use after free (cid #1049108)
parent
b7916b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+4
-6
No files found.
modules/demux/mkv/matroska_segment_parse.cpp
View file @
d1ffaaf1
...
@@ -1036,16 +1036,14 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
...
@@ -1036,16 +1036,14 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
else
if
(
MKV_IS_ID
(
l
,
KaxChapterLanguage
)
)
else
if
(
MKV_IS_ID
(
l
,
KaxChapterLanguage
)
)
{
{
KaxChapterLanguage
&
lang
=*
(
KaxChapterLanguage
*
)
l
;
KaxChapterLanguage
&
lang
=*
(
KaxChapterLanguage
*
)
l
;
const
char
*
psz
=
string
(
lang
).
c_str
();
msg_Dbg
(
&
sys
.
demuxer
,
"| | | | | + ChapterLanguage '%s'"
,
string
(
lang
).
c_str
()
);
msg_Dbg
(
&
sys
.
demuxer
,
"| | | | | + ChapterLanguage '%s'"
,
psz
);
}
}
else
if
(
MKV_IS_ID
(
l
,
KaxChapterCountry
)
)
else
if
(
MKV_IS_ID
(
l
,
KaxChapterCountry
)
)
{
{
KaxChapterCountry
&
ct
=*
(
KaxChapterCountry
*
)
l
;
KaxChapterCountry
&
ct
=*
(
KaxChapterCountry
*
)
l
;
const
char
*
psz
=
string
(
ct
).
c_str
();
msg_Dbg
(
&
sys
.
demuxer
,
"| | | | | + ChapterCountry '%s'"
,
string
(
ct
).
c_str
()
);
msg_Dbg
(
&
sys
.
demuxer
,
"| | | | | + ChapterCountry '%s'"
,
psz
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment