libavcodec/webp.c:1408: error: Integer Overflow L2
  ([min(0, `avpkt->data->l`), 1+max(0, `avpkt->data->l`)] - 1):unsigned32.

libavcodec/webp.c:1361:13: <LHS trace>
1359.         chunk_size += chunk_size & 1;
1360. 
1361.         if (bytestream2_get_bytes_left(&gb) < chunk_size)
                  ^
1362.             return AVERROR_INVALIDDATA;
1363. 

libavcodec/webp.c:1361:13: Call
1359.         chunk_size += chunk_size & 1;
1360. 
1361.         if (bytestream2_get_bytes_left(&gb) < chunk_size)
                  ^
1362.             return AVERROR_INVALIDDATA;
1363. 

libavcodec/bytestream.h:149:1: Parameter `*g->buffer`
  147. }
  148. 
  149. static av_always_inline unsigned int bytestream2_get_bytes_left(GetByteContext *g)
       ^
  150. {
  151.     return g->buffer_end - g->buffer;

libavcodec/bytestream.h:151:5: Assignment
  149. static av_always_inline unsigned int bytestream2_get_bytes_left(GetByteContext *g)
  150. {
  151.     return g->buffer_end - g->buffer;
           ^
  152. }
  153. 

libavcodec/webp.c:1408:13: Binary operation: ([min(0, avpkt->data->l), 1+max(0, avpkt->data->l)] - 1):unsigned32
1406.             alpha_header       = bytestream2_get_byte(&gb);
1407.             s->alpha_data      = avpkt->data + bytestream2_tell(&gb);
1408.             s->alpha_data_size = chunk_size - 1;
                  ^
1409.             bytestream2_skip(&gb, s->alpha_data_size);
1410. 
