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 E1F754A4A8 for ; Tue, 30 Apr 2024 21:13:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C752568D627; Wed, 1 May 2024 00:13:04 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C30CE68D58B for ; Wed, 1 May 2024 00:12:56 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 25B6BE0004 for ; Tue, 30 Apr 2024 21:12:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1714511576; 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=QmdhcKODqJlZnr9yASJIdNY5j3MaJTDnbdKmXhvdiIM=; b=omNqwDcqmte39V4AhzN3nip9ioVh43FtZxfjYFLVKAP1OQHtAcB+5PwLn0R1oIWd7Hxxb7 Xiy3k8feIxJAUvs43lqpOtQv88PVEju8NR32nOmvx3UTpKh/rH8xPMTsvLIQHY+sNKIEUQ r9mYIqAT0Oi0Jb6rnu45uvI0+nv/8TJG32B6hufdwvfH9Pv5OAmKXw8mOf4T37upsmNoR+ 37wCACUFLpYsv6hIeflkOqoIIK25lSBzr2S2anHVU/YgEVpHQtgsRJhVn8YDwDV6JZEzV3 7tqdFbImkEXUD6eir9uUQxmniPBPUmfGHUAGkZ1MFIyZ6bhT6upzdCTs5ZhxLw== Date: Tue, 30 Apr 2024 23:12:55 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240430211255.GT6420@pb2> References: <20240430004854.199741-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20240430004854.199741-1-michael@niedermayer.cc> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/3] avformat/kvag: Check sample_rate 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="===============2739919552318400322==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2739919552318400322== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LYWJD+9Ci5KZf07m" Content-Disposition: inline --LYWJD+9Ci5KZf07m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 30, 2024 at 02:48:52AM +0200, Michael Niedermayer wrote: > Fixes: Division by 0 > Fixes: -copyts -start_at_zero -itsoffset 00:00:01 -itsscale 1 -ss 00:00:0= 2 -i zgclab/ffmpeg_crash/poc1 output.mp4 >=20 > Found-by: Wang Dawei and Zhou Geng, from Zhongguancun Laboratory > Signed-off-by: Michael Niedermayer > --- > libavformat/kvag.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) I will apply this one sample rate is signed everywhere so accepting things outside the signed int range is not going to work [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyrant has disposed of foreign enemies by conquest or treaty, and there is nothing more to fear from them, then he is always stirring up some war or other, in order that the people may require a leader. -- Plato --LYWJD+9Ci5KZf07m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZjFe0wAKCRBhHseHBAsP qzexAJ9MTcJ1jIF5BuJHlInfzu5JGZaxmgCfVLKqJYIBBXhnBbcds1kqrln/3Bs= =ui4W -----END PGP SIGNATURE----- --LYWJD+9Ci5KZf07m-- --===============2739919552318400322== 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". --===============2739919552318400322==--