[FFmpeg-devel] [PATCH 1/2] avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows

Michael Niedermayer michaelni at gmx.at
Wed Dec 2 21:26:25 CET 2015


On Tue, Dec 01, 2015 at 01:50:13PM +0100, Michael Niedermayer wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
> 
> Fixes integer overflow
> Fixes: mozilla bug 1229167
> 
> Found-by: Tyson Smith
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavutil/mathematics.c |   13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)

patchset applied

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/20151202/af4505c2/attachment.sig>


More information about the ffmpeg-devel mailing list