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, 10 May 2017 13:21:17 +0000 (15:21 +0200)
commit3d232196372f309a75ed074c4cef30578eec1782
tree9e00bb6061eb504732b562ffba756b0443f25dbf
parent5871adc90f8c1037535563e33ebeaf032bb4d5d6
avformat/wavdec: Check chunk_size

Fixes integer overflow and out of array access

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/wavdec.c