1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavutil
Michael Niedermayer f2258e9899 avutil/timecode: Fix fps check
The fps variable is explicitly set to -1 in case of some errors, the check must
thus be signed or the code setting it needs to use 0 as error code
the type of the field could be changed as well but its in an installed header

Fixes: integer overflow
Fixes: 9982cc157b1ea90429435640a989122f/asan_generic_3ad004a_3799_22cf198d9cd09928e2d9ad250474fa58.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b46dcd5209a77254345ae098b83a872634c5591b)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-06 02:51:27 +01:00
..
2015-06-19 02:25:48 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-06-19 15:57:32 +02:00
2015-08-22 10:07:05 -07:00
2015-05-02 14:37:48 +02:00
2014-12-19 14:35:29 +01:00
2015-11-12 00:00:57 +01:00
2015-05-31 12:07:11 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-08-18 09:46:49 -04:00
2015-08-22 10:07:05 -07:00
2014-11-08 11:31:11 +01:00
2015-08-18 13:09:06 -04:00
2015-08-18 13:09:06 -04:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2015-12-06 02:51:27 +01:00
2015-02-18 00:59:55 +01:00