[vlc-commits] [Git][videolan/vlc][3.0.x] dvbsub: fix uninitialized page fields

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Jul 26 13:26:46 UTC 2026



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


Commits:
7075d41d by Steve Lhomme at 2026-07-26T13:09:39+00:00
dvbsub: fix uninitialized page fields

Fixes #29835

(cherry picked from commit edb48c59aaf3658c099d4ed41685a07dd0d428ee)

- - - - -


1 changed file:

- modules/codec/dvbsub.c


Changes:

=====================================
modules/codec/dvbsub.c
=====================================
@@ -832,6 +832,8 @@ static void decode_page_composition( decoder_t *p_dec, bs_t *s )
     p_sys->p_page->i_version = i_version;
     p_sys->p_page->i_timeout = i_timeout;
     p_sys->b_page = true;
+    p_sys->p_page->p_region_defs = NULL;
+    p_sys->p_page->i_region_defs = 0;
 
     /* Number of regions */
     p_sys->p_page->i_region_defs = (i_segment_length - 2) / 6;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7075d41ddfafab04a8c33bc35398efaab688f977

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7075d41ddfafab04a8c33bc35398efaab688f977
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