[vlc-commits] [Git][videolan/vlc][master] demux: ts: fix arib palette descriptor read
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Sat Sep 5 13:36:53 UTC 2026
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
3ac43321 by François Cartegnie at 2026-09-05T15:22:35+02:00
demux: ts: fix arib palette descriptor read
fix #29957
Reported-by: Kai Martin (KG3N Dynamics, kg3n.com)
Reported-by: tedanvosin
- - - - -
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/3ac43321736c01deceadde6d5c9763de3b06cdbe
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3ac43321736c01deceadde6d5c9763de3b06cdbe
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