Re: [FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-10 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 01:40:49AM +0200, Paul B Mahol wrote: > Dana 10. 6. 2015. 01:15 osoba "Michael Niedermayer" > napisala je: > > > > On Wed, Jun 10, 2015 at 12:12:38AM +0200, Andreas Cadhalpun wrote: > > > If chan2 is not smaller than the number of channels, it can cause > > > segmentation f

Re: [FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Paul B Mahol
Dana 10. 6. 2015. 01:15 osoba "Michael Niedermayer" napisala je: > > On Wed, Jun 10, 2015 at 12:12:38AM +0200, Andreas Cadhalpun wrote: > > If chan2 is not smaller than the number of channels, it can cause > > segmentation faults due to dereferencing a NULL pointer. > > > > Signed-off-by: Andreas

Re: [FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Michael Niedermayer
On Wed, Jun 10, 2015 at 12:12:38AM +0200, Andreas Cadhalpun wrote: > If chan2 is not smaller than the number of channels, it can cause > segmentation faults due to dereferencing a NULL pointer. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/takdec.c | 6 ++ > 1 file changed, 6 inser

[FFmpeg-devel] [PATCH] takdec: ensure chan2 is a valid channel index

2015-06-09 Thread Andreas Cadhalpun
If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun --- libavcodec/takdec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c index a453da8..4