Fixes: Use of uninitialized value Fixes: 71350/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ILBC_fuzzer-6322020827070464
Unified · Split
| @@ -658,7 +658,7 @@ static void get_codebook(int16_t * cbvec, /* (o) Constructed codebook vector * · 657 unmodified lines | ||
| 658 | 658 | int16_t k, base_size; |
| 659 | 659 | int16_t lag; |
| 660 | 660 | /* Stack based */ |
| 661 | − int16_t tempbuff2[SUBL + 5]; | |
| 661 | + int16_t tempbuff2[SUBL + 5] = {0}; | |
| 662 | 662 | |
| 663 | 663 | /* Determine size of codebook sections */ |
| 664 | 664 | base_size = lMem - cbveclen + 1; |