* 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