From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 8DBB04F0A7 for ; Sun, 15 Jun 2025 16:08:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9726368D57C; Sun, 15 Jun 2025 19:08:43 +0300 (EEST) Date: Sun, 15 Jun 2025 18:08:28 +0200 To: ffmpeg-devel@ffmpeg.org References: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io> In-Reply-To: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io> MIME-Version: 1.0 Message-ID: List-Id: FFmpeg development discussions and patches List-Post: From: Emma Romano via ffmpeg-devel Precedence: list Cc: Emma Romano X-Mailman-Version: 2.1.29 X-BeenThere: ffmpeg-devel@ffmpeg.org List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: FFmpeg development discussions and patches List-Help: Subject: Re: [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay Content-Type: multipart/mixed; boundary="===============5169500656098810102==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5169500656098810102== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from hognose1.porkbun.com (hognose1.porkbun.com [35.82.102.206]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 6951F68D3AA for ; Sun, 15 Jun 2025 19:08:37 +0300 (EEST) Received: from [192.168.178.59] (host-79-41-217-163.retail.telecomitalia.it [79.41.217.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: emma@soatech.io) by hognose1.porkbun.com (Postfix) with ESMTPSA id 8C7F2459B4 for ; Sun, 15 Jun 2025 16:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soatech.io; s=default; t=1750003715; bh=tc/eNZzFjvuDOMZNTabbdlaD2j2o1vrjQuOrxb1W470=; h=Date:Subject:From:To:References:In-Reply-To; b=nxOUGHOaC3e7ojTcmSyLqp6W4uuTOCoLygmvkV1gjdFVSI2znmRK50mLXa4XlOgRD jS1ZVxpDni65Mi4pxvtlXG/ioxkbIl0UwD18o+U1ETXQZ+Eq6v7Cg0/pOYdRG6VTuZ R6Hoacloqmc+pCqZ++UnB32eg9NfOhCLqOJm9DDQ= Message-ID: <8aa77944-abad-4452-8a40-240962c8d35c@soatech.io> Date: Sun, 15 Jun 2025 18:08:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay From: Emma Romano To: ffmpeg-devel@ffmpeg.org References: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io> Content-Language: en-US In-Reply-To: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello to all, I didn't mean to publish this, this was in my drafts and it somehow was sent without me asking to, I ask you to ignore this as I didn't mean to send this My apologizes On 6/15/25 6:03 PM, Emma Romano wrote: > > > --- >  libavcodec/vp3.c | 3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c > index 3089499a0f..aff5be6879 100644 > --- a/libavcodec/vp3.c > +++ b/libavcodec/vp3.c > @@ -1315,6 +1315,9 @@ static int unpack_dct_coeffs(Vp3DecodeContext > *s, GetBitContext *gb) >      dc_y_table = get_bits(gb, 4); >      dc_c_table = get_bits(gb, 4); > > +    if(!coeff_vlc) > +      return AVERROR_INVALIDDATA; > + >      /* unpack the Y plane DC coefficients */ >      residual_eob_run = unpack_vlcs(s, gb, coeff_vlc[dc_y_table], 0, >                                     0, residual_eob_run); > -- > 2.48.1 > --===============5169500656098810102== 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". --===============5169500656098810102==--