avformat/wavdec: Check chunk_size
author李赞 <lizan@ruc.edu.cn>
Wed, 10 May 2017 12:55:34 +0000 (14:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 May 2017 18:35:20 +0000 (20:35 +0200)
commit00e8a7adf4afb350c1b4556d7d2b66412713c463
tree2c3e164ca7a3e238ba1a42b4b12a454fdf00aebd
parent742ccace7c3516d2fc23618136e14390a3557af1
avformat/wavdec: Check chunk_size

Fixes integer overflow and out of array access

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