]> git.sesse.net Git - ffmpeg/commit
wtv: Add more sanity checks for a length read from the file
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 13:55:13 +0000 (16:55 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 19:46:35 +0000 (22:46 +0300)
commit83c285f88016b087c2f0f4b9ef356ad8ef12d947
tree6447f135725834d7c809a2715fc527233051bba7
parentd8b68660145c76a23fc9665f96932449514ecad2
wtv: Add more sanity checks for a length read from the file

Also make sure the existing length check can't overflow.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/wtv.c