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
1b1182ce
Commit
1b1182ce
authored
Oct 02, 2011
by
Laurent Aimar
Committed by
Janne Grunau
Oct 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4xm: prevent NULL dereference with invalid huffman table
Signed-off-by:
Janne Grunau
<
janne-libav@jannau.net
>
parent
79964745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
4xm.c
libavcodec/4xm.c
+4
-3
No files found.
libavcodec/4xm.c
View file @
1b1182ce
...
...
@@ -602,9 +602,10 @@ static const uint8_t *read_huffman_tables(FourXContext *f, const uint8_t * const
len_tab
[
j
]
=
len
;
}
init_vlc
(
&
f
->
pre_vlc
,
ACDC_VLC_BITS
,
257
,
len_tab
,
1
,
1
,
bits_tab
,
4
,
4
,
0
);
if
(
init_vlc
(
&
f
->
pre_vlc
,
ACDC_VLC_BITS
,
257
,
len_tab
,
1
,
1
,
bits_tab
,
4
,
4
,
0
))
return
NULL
;
return
ptr
;
}
...
...
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