lavf/mov.c: Avoid heap allocation wraps in mov_read_{senc,saiz}() n3.2.4
authorMatt Wolenetz <wolenetz@google.com>
Wed, 14 Dec 2016 23:27:49 +0000 (15:27 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 10 Feb 2017 11:15:17 +0000 (12:15 +0100)
commitd4b731e271ba944ade8f6a128271479529507de9
tree989287e8f8d9140ab8454935a9cc351a3a0d791e
parent927e59b74acc5286f9e8eeac0fb118410db1c09a
lavf/mov.c: Avoid heap allocation wraps in mov_read_{senc,saiz}()

Core of patch is from paul@paulmehta.com
Reference https://crbug.com/643952 (senc,saiz portions)

Signed-off-by: Matt Wolenetz <wolenetz@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 36aba43bd5fae8595dd9a566fbcfbbea63f0fca3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c