Re: [FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-14 Thread Andreas Cadhalpun
On 14.12.2016 13:34, Michael Niedermayer wrote: > On Wed, Dec 14, 2016 at 12:57:12AM +0100, Andreas Cadhalpun wrote: >> tiff.c | 13 +++-- >> 1 file changed, 11 insertions(+), 2 deletions(-) >> 96297593c98fcbce7395cb13627fae080f1e2cbc >> 0001-tiff-fix-overflows-when-calling-av_reduce.p

Re: [FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-14 Thread Michael Niedermayer
On Wed, Dec 14, 2016 at 12:57:12AM +0100, Andreas Cadhalpun wrote: > On 13.12.2016 01:32, Michael Niedermayer wrote: > > On Tue, Dec 13, 2016 at 12:50:19AM +0100, Andreas Cadhalpun wrote: > >> The arguments of av_reduce are signed, so the cast to uint64_t is > >> misleading. > >> > >> Signed-off-b

Re: [FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-13 Thread Andreas Cadhalpun
On 13.12.2016 01:32, Michael Niedermayer wrote: > On Tue, Dec 13, 2016 at 12:50:19AM +0100, Andreas Cadhalpun wrote: >> The arguments of av_reduce are signed, so the cast to uint64_t is misleading. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/tiff.c | 11 +-- >> 1 file chan

Re: [FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-12 Thread Michael Niedermayer
On Tue, Dec 13, 2016 at 12:50:19AM +0100, Andreas Cadhalpun wrote: > The arguments of av_reduce are signed, so the cast to uint64_t is misleading. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/tiff.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/

[FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-12 Thread Andreas Cadhalpun
The arguments of av_reduce are signed, so the cast to uint64_t is misleading. Signed-off-by: Andreas Cadhalpun --- libavcodec/tiff.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 4721e94..12ef419 100644 --- a/libavcode