projects
/
platform
/
upstream
/
libaec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78f89fd
)
Buffer too small
author
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Mon, 5 Nov 2012 15:30:23 +0000
(16:30 +0100)
committer
Thomas Jahns
<jahns@dkrz.de>
Tue, 19 Feb 2013 10:33:00 +0000
(11:33 +0100)
src/decode.c
patch
|
blob
|
history
diff --git
a/src/decode.c
b/src/decode.c
index
15ad20e
..
aab0fd5
100644
(file)
--- a/
src/decode.c
+++ b/
src/decode.c
@@
-498,7
+498,7
@@
int aec_decode_init(struct aec_stream *strm)
if (state == NULL)
return AEC_MEM_ERROR;
- state->se_table = (int *) malloc(18
0
* sizeof(int));
+ state->se_table = (int *) malloc(18
2
* sizeof(int));
if (state->se_table == NULL)
return AEC_MEM_ERROR;