Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay
       [not found] <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io>
@ 2025-06-15 16:08 ` Emma Romano via ffmpeg-devel
  0 siblings, 0 replies; only message in thread
From: Emma Romano via ffmpeg-devel @ 2025-06-15 16:08 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Emma Romano

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-15 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <958d4996-4760-4397-8414-5b3b6ba1abc4@soatech.io>
2025-06-15 16:08 ` [FFmpeg-devel] [PATCH] Fixed null dereference in ffplay Emma Romano via ffmpeg-devel

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