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 A0143477F1 for ; Fri, 22 Sep 2023 19:31:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 092CA68C9DC; Fri, 22 Sep 2023 22:31:21 +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 438B868C966 for ; Fri, 22 Sep 2023 22:31:14 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6D254FF802 for ; Fri, 22 Sep 2023 19:31:13 +0000 (UTC) Date: Fri, 22 Sep 2023 21:31:12 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230922193112.GE8640@pb2> References: <20230907212442.12426-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20230907212442.12426-1-michael@niedermayer.cc> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/celp_math: avoid overflow in shift 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="===============1527514049844748966==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1527514049844748966== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mg8cdxx98+SFDaXr" Content-Disposition: inline --mg8cdxx98+SFDaXr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 07, 2023 at 11:24:42PM +0200, Michael Niedermayer wrote: > by making gain unsigned we have 1 bit more available > alternatively we can clip twice as in the g729 reference >=20 > Fixes: left shift of 23404 by 17 places cannot be represented in type 'in= t' > Fixes: 61728/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ACELP_KELV= IN_fuzzer-6280412547383296 >=20 > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/t= ree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcodec/celp_math.h | 2 +- > libavcodec/g729postfilter.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) will apply [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you do not know the correct answe= r. --mg8cdxx98+SFDaXr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZQ3rgAAKCRBhHseHBAsP q/BGAJ9gkYt2+O77a0wJRXX4emwYzPhVnQCfTyejzY99depaJ5ia0vvVpk7+EJs= =/HYL -----END PGP SIGNATURE----- --mg8cdxx98+SFDaXr-- --===============1527514049844748966== 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". --===============1527514049844748966==--