lavf/mov.c: Avoid heap allocation wraps in mov_read_{senc,saiz}() n3.0.7
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:16:24 +0000 (12:16 +0100)
commitc63e58756699d07b5bc69799db388600d3e634bf
tree3175e4471f15ab0500b5fe58be69701ed173514d
parentb5c13002d18e8cd0ab19b37bb1fff3ea75ec3e5e
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