avformat/mxfdec: Check size to avoid integer overflow in mxf_read_utf16_string()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Oct 2016 17:45:21 +0000 (19:45 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Dec 2016 19:25:15 +0000 (20:25 +0100)
commitbab7d72d46458061065a41536611793b9a53fa5a
treec4905fa1a59aff5d35cdb9fb503578cb7129844d
parent9128ef0302084ab5e7d87ed5fbe95846eda8d8d8
avformat/mxfdec: Check size to avoid integer overflow in mxf_read_utf16_string()

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