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

2016-03-19 Thread Vittorio Giovara
On Tue, Jun 9, 2015 at 8:26 PM, Luca Barbato wrote: > On 10/06/15 00:12, 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

[libav-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 andreas.cadhal...@googlemail.com --- libavcodec/takdec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/takdec.c

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

2015-06-09 Thread Luca Barbato
On 10/06/15 00:12, 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 andreas.cadhal...@googlemail.com --- libavcodec/takdec.c | 6 ++ 1 file changed, 6