Commit fba9c0961c for ffmpeg
commit fba9c0961c1701f2a2cd02d9a56923111dc11b09
Author: Michael Niedermayer <michael@niedermayer.cc>
Date: Tue Oct 6 07:08:45 2026 +0200
avformat/dashdec: Skip LCEVC grouping for representations without codecs
The fix is the one recommended in the report.
Fixes: NULL pointer dereference
Fixes: XmvwOQImSoeX
Fixes: AISLE-2026-0111-00259
NULL pointer dereference Replicated through UnModified FFmpeg (ffprobe) with UBSAN
Regression since: e7696357de
Found-by: Joshua Rogers <joshua.rogers@aisle.com>
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index f3985788f4..ef33ff5ff3 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2287,7 +2287,7 @@ static int dash_read_header(AVFormatContext *s)
for (i = 0; i < c->n_videos; i++) {
struct representation *ref;
rep = c->videos[i];
- if (!rep->dependencyid || !rep->nb_assoc_stream)
+ if (!rep->dependencyid || !rep->codecs || !rep->nb_assoc_stream)
continue;
for (j = 0; j < c->n_videos; j++) {
if (j == i)