avcodec/opus_parser: Check payload_len in parse_opus_ts_header()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 Jan 2018 21:12:07 +0000 (22:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitba2f8469ba951db28c7d7ede25908cb8beeacfae
tree1966e3748ecf2bcb45d3604794f48d35e170e516
parente4afafaa7effe5086373790639c1d0a962d4d007
avcodec/opus_parser: Check payload_len in parse_opus_ts_header()

Fixes: clusterfuzz-testcase-minimized-6134545979277312
Fixes: crbug 797469

Reported-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1bcd7fefcb3c1ec47978fdc64a9e8dfb9512ae62)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/opus_parser.c