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>
Sat, 26 Nov 2016 14:12:25 +0000 (15:12 +0100)
commitb9ab4db9f935a00611bad89b7c0330283c2468e4
treea3c4f766b9bfd9724bc935d771b7d7549ebf712f
parent8328c07fb13b06c2b737785b109e7808cbbe2930
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