Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Emma Romano via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: Emma Romano <emma@soatech.io>
Subject: Re: [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay
Date: Sun, 15 Jun 2025 18:08:28 +0200
Message-ID: <mailman.3322.1750003723.1384.ffmpeg-devel@ffmpeg.org> (raw)
In-Reply-To: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io>

[-- Attachment #1: Type: message/rfc822, Size: 2519 bytes --]

From: Emma Romano <emma@soatech.io>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay
Date: Sun, 15 Jun 2025 18:08:28 +0200
Message-ID: <8aa77944-abad-4452-8a40-240962c8d35c@soatech.io>

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
>

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
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".

           reply	other threads:[~2025-06-15 16:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailman.3322.1750003723.1384.ffmpeg-devel@ffmpeg.org \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=emma@soatech.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git