[FFmpeg-devel] [PATCH] avformat/cache: Use int64_t to avoid int overflow in cache_read
Michael Niedermayer
michael at niedermayer.cc
Wed Nov 4 04:18:44 CET 2015
On Mon, Nov 02, 2015 at 10:20:39AM -0800, Bryan Huh wrote:
> Fixes an issue where an int64_t ffurl_seek return-value was being stored
> in an int (32-bit) "r" variable, leading to integer overflow when seeking
> into a large file (>2GB), and ultimately a "Failed to perform internal
> seek" error mesage.
>
> To test, try running `ffprobe 'cache:http://<something>'` on a file that
> is ~3GB large, whose moov atom is at the end of the file
> ---
> libavformat/cache.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151104/765af0b4/attachment.sig>
More information about the ffmpeg-devel
mailing list