libavformat/wtv.c:569: error: Integer Overflow L2
  ([2, 2147483647] + 2):signed32 by call to `avio_get_str16le`.

libavformat/wtv.c:569:9: Call
567.             break;
568.         }
569.         avio_get_str16le(pb, INT_MAX, key, sizeof(key));
             ^
570.         get_tag(s, pb, key, type, length);
571.     }

libavformat/aviobuf.c:708:1: <LHS trace>
706. }\
707. 
708. GET_STR16(le, avio_rl16)
     ^
709. GET_STR16(be, avio_rb16)
710. 

libavformat/aviobuf.c:708:1: Assignment
  706. }\
  707. 
  708. GET_STR16(le, avio_rl16)
       ^
  709. GET_STR16(be, avio_rb16)
  710. 

libavformat/aviobuf.c:708:1: Binary operation: ([2, 2147483647] + 2):signed32 by call to `avio_get_str16le` 
  706. }\
  707. 
  708. GET_STR16(le, avio_rl16)
       ^
  709. GET_STR16(be, avio_rb16)
  710. 

GET_STR16(le, avio_rl16)
['static void parse_legacy_attrib(AVFormatContext *s, AVIOContext *pb)\n{\n    ff_asf_guid guid;\n    int length, type;\n    while(!url_feof(pb)) {\n        char key[1024];\n        ff_get_guid(pb, &guid);\n        type   = avio_rl32(pb);\n        length = avio_rl32(pb);\n        if (!length)\n            break;\n        if (ff_guidcmp(&guid, metadata_guid)) {\n            av_log(s, AV_LOG_WARNING, "unknown guid "PRI_GUID", expected metadata_guid; "\n                   "remaining metadata entries ignored\\n", ARG_GUID(guid));\n            break;\n        }\n        avio_get_str16le(pb, INT_MAX, key, sizeof(key));\n        get_tag(s, pb, key, type, length);\n    }\n    ff_metadata_conv(&s->metadata, NULL, ff_asf_metadata_conv);\n}', 'GET_STR16(le, avio_rl16)']