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 A6C06405E0 for ; Fri, 25 Feb 2022 21:06:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C03D5689BC6; Fri, 25 Feb 2022 23:06:55 +0200 (EET) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7ECD4680BBE for ; Fri, 25 Feb 2022 23:06:48 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 86141100004 for ; Fri, 25 Feb 2022 21:06:47 +0000 (UTC) Date: Fri, 25 Feb 2022 22:06:46 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220225210646.GH2829255@pb2> References: <20220225152940.26446-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avcodec/h263dec: Check input size before GEOV/GEOX special case handling 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="===============5739911632673660710==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5739911632673660710== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="06nHjxiXce6Y/zHg" Content-Disposition: inline --06nHjxiXce6Y/zHg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 25, 2022 at 09:22:14PM +0100, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: Timeout > > Fixes: 44921/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fu= zzer-6546588791603200 > >=20 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz= /tree/master/projects/ffmpeg > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/h263dec.c | 1 + > > 1 file changed, 1 insertion(+) > >=20 > > diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c > > index e940b7f7c7..56a41f6d05 100644 > > --- a/libavcodec/h263dec.c > > +++ b/libavcodec/h263dec.c > > @@ -702,6 +702,7 @@ frame_end: > > =20 > > if (s->last_picture_ptr || s->low_delay) { > > if ( pict->format =3D=3D AV_PIX_FMT_YUV420P > > + && buf_size*16LL > s->mb_num > > && (s->codec_tag =3D=3D AV_RL32("GEOV") || s->codec_tag = =3D=3D AV_RL32("GEOX"))) { > > int x, y, p; > > av_frame_make_writable(pict); >=20 > Does https://ffmpeg.org/pipermail/ffmpeg-devel/2022-February/293358.html > not fix the timeout? that should work too and is better, consider my patch withdrawn thx --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are wrong. --06nHjxiXce6Y/zHg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYhlE4gAKCRBhHseHBAsP q1ZrAJ9olQQKHRnNwQl/XlX/WJsbIJfv8ACfQ8W+cUT9Ozkv/1hmQ3htVKiCwaA= =TmFy -----END PGP SIGNATURE----- --06nHjxiXce6Y/zHg-- --===============5739911632673660710== 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". --===============5739911632673660710==--