libavcodec/wmaprodec.c:1026: error: Buffer Overrun L3
  Offset: [-7, +oo] Size: 6.

libavcodec/wmaprodec.c:1026:29: <Offset trace>
1024.         }
1025. 
1026.         window = s->windows[av_log2(winlen) - BLOCK_MIN_BITS];
                                  ^
1027. 
1028.         winlen >>= 1;

libavcodec/wmaprodec.c:1026:29: Call
1024.         }
1025. 
1026.         window = s->windows[av_log2(winlen) - BLOCK_MIN_BITS];
                                  ^
1027. 
1028.         winlen >>= 1;

libavutil/common.h:60:1: Global `ff_log2_tab`
  58. extern const uint8_t av_reverse[256];
  59. 
  60. static inline av_const int av_log2_c(unsigned int v)
      ^
  61. {
  62.     int n = 0;

libavutil/common.h:71:5: Assignment
  69.         n += 8;
  70.     }
  71.     n += ff_log2_tab[v];
          ^
  72. 
  73.     return n;

libavutil/common.h:73:5: Assignment
  71.     n += ff_log2_tab[v];
  72. 
  73.     return n;
          ^
  74. }
  75. 

libavcodec/wmaprodec.c:1012:1: <Length trace>
1010.  *@param s codec context
1011.  */
1012. static void wmapro_window(WMAProDecodeCtx *s)
      ^
1013. {
1014.     int i;

libavcodec/wmaprodec.c:1012:1: Parameter `s->windows[*]`
1010.  *@param s codec context
1011.  */
1012. static void wmapro_window(WMAProDecodeCtx *s)
      ^
1013. {
1014.     int i;

libavcodec/wmaprodec.c:1026:18: Array access: Offset: [-7, +oo] Size: 6
1024.         }
1025. 
1026.         window = s->windows[av_log2(winlen) - BLOCK_MIN_BITS];
                       ^
1027. 
1028.         winlen >>= 1;

static void wmapro_window(WMAProDecodeCtx *s)
{
    int i;
    for (i = 0; i < s->channels_for_cur_subframe; i++) {
        int c = s->channel_indexes_for_cur_subframe[i];
        float* window;
        int winlen = s->channel[c].prev_block_len;
        float* start = s->channel[c].coeffs - (winlen >> 1);
        if (s->subframe_len < winlen) {
            start += (winlen - s->subframe_len) >> 1;
            winlen = s->subframe_len;
        }
        window = s->windows[av_log2(winlen) - BLOCK_MIN_BITS];
        winlen >>= 1;
        s->dsp.vector_fmul_window(start, start, start + winlen,
                                  window, 0, winlen);
        s->channel[c].prev_block_len = s->subframe_len;
    }
}
['static void wmapro_window(WMAProDecodeCtx *s)\n{\n    int i;\n    for (i = 0; i < s->channels_for_cur_subframe; i++) {\n        int c = s->channel_indexes_for_cur_subframe[i];\n        float* window;\n        int winlen = s->channel[c].prev_block_len;\n        float* start = s->channel[c].coeffs - (winlen >> 1);\n        if (s->subframe_len < winlen) {\n            start += (winlen - s->subframe_len) >> 1;\n            winlen = s->subframe_len;\n        }\n        window = s->windows[av_log2(winlen) - BLOCK_MIN_BITS];\n        winlen >>= 1;\n        s->dsp.vector_fmul_window(start, start, start + winlen,\n                                  window, 0, winlen);\n        s->channel[c].prev_block_len = s->subframe_len;\n    }\n}', 'static inline av_const int av_log2_c(unsigned int v)\n{\n    int n = 0;\n    if (v & 0xffff0000) {\n        v >>= 16;\n        n += 16;\n    }\n    if (v & 0xff00) {\n        v >>= 8;\n        n += 8;\n    }\n    n += ff_log2_tab[v];\n    return n;\n}']