Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
abfd2a48
Commit
abfd2a48
authored
Feb 20, 2013
by
Jingning Han
Committed by
Gerrit Code Review
Feb 20, 2013
Browse files
Merge "Fixed the buffer overflow issue" into experimental
parents
e6c89a1f
232ccc2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_onyx_if.c
View file @
abfd2a48
...
...
@@ -944,7 +944,7 @@ void vp9_alloc_compressor_data(VP9_COMP *cpi) {
vpx_free
(
cpi
->
tok
);
{
unsigned
int
tokens
=
cm
->
mb_rows
*
cm
->
mb_cols
*
24
*
16
;
unsigned
int
tokens
=
cm
->
mb_rows
*
cm
->
mb_cols
*
(
24
*
16
+
1
)
;
CHECK_MEM_ERROR
(
cpi
->
tok
,
vpx_calloc
(
tokens
,
sizeof
(
*
cpi
->
tok
)));
}
...
...
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