lavf/mov.c: Avoid heap allocation wrap in mov_read_hdlr
authorMatt Wolenetz <wolenetz@google.com>
Wed, 14 Dec 2016 23:24:42 +0000 (15:24 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Feb 2017 03:08:26 +0000 (04:08 +0100)
commit4f7064c9da35cd8156f6aee4a25e9b4e7f4ae607
treed137a19a0e71bda1d0bf1a3692081892a327bbcd
parentbb504aa5eb7eb32dbb62545772285e794af85651
lavf/mov.c: Avoid heap allocation wrap in mov_read_hdlr

Core of patch is from paul@paulmehta.com
Reference https://crbug.com/643950

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Check value reduced as the code does not support larger lengths

(cherry picked from commit fd30e4d57fe5841385f845440688505b88c0f4a9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c