1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
Bryan Huh 72f9a6349c avformat/cache: Avoid int-overflow in cache compare function
cache protocol indexes its cache using AVTreeNodes which require a cmp
function for inserting and searching new cache-entries. This cmp
function expects a 32-bit int return value (negative, zero, or positive)
but the cache cmp function returns an int64_t which can overflow the
int, giving negative numbers for when it should be positive, vice versa.
This manifests itself only for very large files (e.g. 4GB+)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-11-09 19:25:05 +01:00
..
2015-10-30 03:02:41 +01:00
2015-11-03 12:26:09 +01:00
2015-11-03 12:26:09 +01:00
2015-10-27 15:29:12 +01:00
2015-10-04 01:37:31 +02:00
2015-10-29 21:26:43 +01:00
2014-06-18 14:55:28 +02:00
2015-06-14 15:09:33 +02:00
2015-08-20 12:22:50 +02:00
2015-10-29 21:26:43 +01:00
2014-08-24 11:05:42 +00:00
2015-05-26 19:54:41 +02:00
2015-05-31 19:04:52 +02:00
2014-07-13 19:18:31 +02:00
2014-07-13 19:18:31 +02:00
2014-08-15 22:47:45 +02:00
2015-11-03 12:26:09 +01:00
2015-10-05 22:31:38 +02:00
2015-11-06 13:45:50 +01:00
2015-11-06 13:45:50 +01:00
2015-06-07 21:55:46 +02:00
2015-11-09 10:41:38 +01:00
2015-09-01 13:35:37 +02:00
2015-05-27 21:48:47 +02:00
2014-10-21 03:52:27 +02:00
2015-10-26 23:24:45 -07:00
2014-03-08 12:36:57 +01:00
2015-11-03 12:26:09 +01:00
2015-01-11 00:35:01 +01:00
2015-01-11 00:35:01 +01:00
2015-10-20 09:41:11 +02:00
2015-10-25 11:05:56 +01:00
2015-10-25 17:37:17 +01:00