Buffer too small
authorMathis Rosenhauer <rosenhauer@dkrz.de>
Mon, 5 Nov 2012 15:30:23 +0000 (16:30 +0100)
committerThomas Jahns <jahns@dkrz.de>
Tue, 19 Feb 2013 10:33:00 +0000 (11:33 +0100)
src/decode.c

index 15ad20e..aab0fd5 100644 (file)
@@ -498,7 +498,7 @@ int aec_decode_init(struct aec_stream *strm)
     if (state == NULL)
         return AEC_MEM_ERROR;
 
-    state->se_table = (int *) malloc(180 * sizeof(int));
+    state->se_table = (int *) malloc(182 * sizeof(int));
     if (state->se_table == NULL)
         return AEC_MEM_ERROR;