[vlc-commits] [Git][videolan/vlc][3.0.x] demux: ts: fix arib palette descriptor read

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Sep 9 10:46:16 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
2f34c8c3 by François Cartegnie at 2026-09-09T10:33:40+00:00
demux: ts: fix arib palette descriptor read

fix #29957
Reported-by: Kai Martin (KG3N Dynamics, kg3n.com)
Reported-by: tedanvosin

(cherry picked from commit 3ac43321736c01deceadde6d5c9763de3b06cdbe)

- - - - -


1 changed file:

- modules/demux/mpeg/ts_arib.c


Changes:

=====================================
modules/demux/mpeg/ts_arib.c
=====================================
@@ -120,6 +120,10 @@ bool ts_arib_inject_png_palette( const uint8_t *p_in, size_t i_in, uint8_t **pp_
 {
     const uint8_t *p_data = p_in;
     const uint8_t *p_idat = NULL;
+
+    if( i_in < 16+11 )
+        return false;
+
     size_t i_data = i_in - 8;
     p_data += 8;
     i_data -= 8;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f34c8c3157aaa2be081e6c6bd1b609289388af6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2f34c8c3157aaa2be081e6c6bd1b609289388af6
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list