From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 8E8D64B91E for ; Wed, 19 Jun 2024 11:25:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 54DBF68D679; Wed, 19 Jun 2024 14:25:06 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 188DE68D5E0 for ; Wed, 19 Jun 2024 14:24:59 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4AA04FF807 for ; Wed, 19 Jun 2024 11:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1718796298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fsVyo/k95QQbBfuzxKqq6MjVqKTH/wsoRUqg1L+h2Sw=; b=HSoxfv9J/vT8M04UJihDBFUwBoJtShBKvYJ+Ha/PqtsIMdNHzefyEhnVKluGhaCV4pFiyK ELoTYn3njnWs1ZrjEllWnLUuKBXpTo6xwG/q30GJjCZCBynUbYR+cQuIFy3zAQ8sMzjC7+ vek9cHWoPU2v91xRiPIX1oNMUuk/dja0epMu8qFgO21q1RTuxzJ0fKRaW+EX1lBhZh9oPU WrGnCinBhLKJ1dqTB1KK8CbR/cmRTz1wWRdWNh/js25jvqteSkmTIftHjK4zXEazKGPyya 3St1gqPHLP9FXT5UM5ogICFggM5cAWo/Nn/Gh+qb9Ib+4q6EwpyITkQRPxyKXg== Date: Wed, 19 Jun 2024 13:24:57 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240619112457.GS4991@pb2> References: <20240607003215.1723906-1-michael@niedermayer.cc> <20240607003215.1723906-3-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 3/5] avformat/mxfdec: Check container_ul->desc before use X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============4732781178945380356==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4732781178945380356== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kVhvBuyIzNBvw9vr" Content-Disposition: inline --kVhvBuyIzNBvw9vr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 18, 2024 at 04:31:49PM +0200, Tomas H=E4rdin wrote: > fre 2024-06-07 klockan 02:32 +0200 skrev Michael Niedermayer: > > Fixes: CID1592939 Dereference after null check > >=20 > > Sponsored-by: Sovereign Tech Fund > > Signed-off-by: Michael Niedermayer > > --- > > =A0libavformat/mxfdec.c | 1 + > > =A01 file changed, 1 insertion(+) > >=20 > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > > index e65cec74c23..820b03940aa 100644 > > --- a/libavformat/mxfdec.c > > +++ b/libavformat/mxfdec.c > > @@ -3031,6 +3031,7 @@ static int > > mxf_parse_structural_metadata(MXFContext *mxf) > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (container_ul->desc) > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 av_dict_set(&st->metad= ata, "data_type", > > container_ul->desc, 0); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (mxf->eia608_extract && > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 container_ul->desc && > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !strcmp(container_ul->= desc, "vbi_vanc_smpte_436M")) > > { > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 st->codecpar->codec_ty= pe =3D AVMEDIA_TYPE_SUBTITLE; > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 st->codecpar->codec_id= =3D AV_CODEC_ID_EIA_608; >=20 > OK will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The greatest way to live with honor in this world is to be what we pretend to be. -- Socrates --kVhvBuyIzNBvw9vr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZnLACQAKCRBhHseHBAsP q9dZAJ9Rwxs/btP5cEUX6Ij4lUoKw1skdgCfbnq/9hfTAT6zj+vOIKzdNURANLU= =t+aO -----END PGP SIGNATURE----- --kVhvBuyIzNBvw9vr-- --===============4732781178945380356== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============4732781178945380356==--