]> git.sesse.net Git - ffmpeg/commit
avformat/oggparseopus: Check that granule pos is within the supported range
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 May 2016 21:12:58 +0000 (23:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 May 2016 22:32:32 +0000 (00:32 +0200)
commit8efaee3710baa87af40556a622bf2d96a27c6425
tree82737823a307e39817056a99c3ee023baa8afe85
parentaeefe018f847aa46c8d69d1d237a54ef89f58fee
avformat/oggparseopus: Check that granule pos is within the supported range

Larger values would imply file durations of astronomic proportions and cause
overflows

Fixes integer overflow
Fixes: usan_int64_overflow
Found-by: Thomas Guilbert <tguilbert@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/oggparseopus.c