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

Michael Niedermayer michaelni at gmx.at
Wed Jun 10 12:21:55 CEST 2015


On Wed, Jun 10, 2015 at 01:40:49AM +0200, Paul B Mahol wrote:
> Dana 10. 6. 2015. 01:15 osoba "Michael Niedermayer" <michaelni at gmx.at>
> 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 Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> > > ---
> > >  libavcodec/takdec.c | 6 ++++++
> > >  1 file changed, 6 insertions(+)
> >
> > looks ok from a quick glance, but paul is the maintainer of this
> 
> lgtm

as you asked on IRC about this
applied

Thanks

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

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150610/f626eed6/attachment.asc>


More information about the ffmpeg-devel mailing list