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

Michael Niedermayer michaelni at gmx.at
Wed Jun 10 01:14:27 CEST 2015

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/99db053c/attachment.asc>

More information about the ffmpeg-devel mailing list