Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
cc1e3ace
Commit
cc1e3ace
authored
Oct 24, 2012
by
Tomas Härdin
Committed by
Luca Barbato
Jan 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxf: Fix potential leak in mxf_read_local_tags()
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
8b708f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mxfdec.c
libavformat/mxfdec.c
+3
-0
No files found.
libavformat/mxfdec.c
View file @
cc1e3ace
...
...
@@ -1648,6 +1648,9 @@ static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, MXFMetadataReadF
/* Accept the 64k local set limit being exceeded (Avid). Don't accept
* it extending past the end of the KLV though (zzuf5.mxf). */
if
(
avio_tell
(
pb
)
>
klv_end
)
{
if
(
ctx_size
)
av_free
(
ctx
);
av_log
(
mxf
->
fc
,
AV_LOG_ERROR
,
"local tag %#04x extends past end of local set @ %#"
PRIx64
"
\n
"
,
tag
,
klv
->
offset
);
...
...
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