libavcodec/aac.c:2032: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `decode_extension_payload`.

libavcodec/aac.c:1984:43: Call
1982.         elem_id = get_bits(&gb, 4);
1983. 
1984.         if (elem_type < TYPE_DSE && !(che=get_che(ac, elem_type, elem_id))) {
                                                ^
1985.             av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);
1986.             return -1;

libavcodec/aac.c:115:1: Parameter `*ac->tag_che_map[*][*]`
  113. static const char overread_err[] = "Input buffer exhausted before END element found\n";
  114. 
  115. static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
       ^
  116. {
  117.     if (ac->tag_che_map[type][elem_id]) {

libavcodec/aac.c:2032:28: Call
2030.             }
2031.             while (elem_id > 0)
2032.                 elem_id -= decode_extension_payload(ac, &gb, elem_id, che_prev, elem_type_prev);
                                 ^
2033.             err = 0; /* FIXME */
2034.             break;

libavcodec/aac.c:1635:1: Parameter `che->sbr.n[*]`
  1633.  * @return Returns number of bytes consumed
  1634.  */
  1635. static int decode_extension_payload(AACContext *ac, GetBitContext *gb, int cnt,
        ^
  1636.                                     ChannelElement *che, enum RawDataBlockType elem_type)
  1637. {

libavcodec/aac.c:1658:15: Call
  1656.             ac->m4ac.sbr = 1;
  1657.         }
  1658.         res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
                      ^
  1659.         break;
  1660.     case EXT_DYNAMIC_RANGE:

libavcodec/aacsbr.c:965:1: Parameter `sbr->n[*]`
    963.  * @return  Returns number of bytes consumed from the TYPE_FIL element.
    964.  */
    965. int ff_decode_sbr_extension(AACContext *ac, SpectralBandReplication *sbr,
         ^
    966.                             GetBitContext *gb_host, int crc, int cnt, int id_aac)
    967. {

libavcodec/aacsbr.c:991:25: Call
    989.     num_sbr_bits++;
    990.     if (get_bits1(gb)) // bs_header_flag
    991.         num_sbr_bits += read_sbr_header(sbr, gb);
                                 ^
    992. 
    993.     if (sbr->reset)

libavcodec/aacsbr.c:214:1: Parameter `sbr->n[*]`
      212. }
      213. 
      214. static unsigned int read_sbr_header(SpectralBandReplication *sbr, GetBitContext *gb)
           ^
      215. {
      216.     unsigned int cnt = get_bits_count(gb);

libavcodec/aacsbr.c:263:9: Call
      261. 
      262.     if (sbr->bs_limiter_bands != old_bs_limiter_bands && !sbr->reset)
      263.         sbr_make_f_tablelim(sbr);
                   ^
      264. 
      265.     return get_bits_count(gb) - cnt;

libavcodec/aacsbr.c:167:1: <LHS trace>
165. 
166. /// Limiter Frequency Band Table (14496-3 sp04 p198)
167. static void sbr_make_f_tablelim(SpectralBandReplication *sbr)
     ^
168. {
169.     int k;

libavcodec/aacsbr.c:167:1: Parameter `sbr->n[*]`
        165. 
        166. /// Limiter Frequency Band Table (14496-3 sp04 p198)
        167. static void sbr_make_f_tablelim(SpectralBandReplication *sbr)
             ^
        168. {
        169.     int k;

libavcodec/aacsbr.c:192:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `decode_extension_payload` 
        190.               qsort_comparison_function_int16);
        191. 
        192.         sbr->n_lim = sbr->n[0] + sbr->num_patches - 1;
                     ^
        193.         while (out < sbr->f_tablelim + sbr->n_lim) {
        194.             if (*in >= *out * lim_bands_per_octave_warped) {
