[vlc-commits] [Git][videolan/vlc][master] dvbsub: fix uninitialized page fields

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jul 23 08:07:47 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
edb48c59 by Steve Lhomme at 2026-07-23T07:39:56+00:00
dvbsub: fix uninitialized page fields

Fixes #29835

- - - - -


1 changed file:

- modules/codec/dvbsub.c


Changes:

=====================================
modules/codec/dvbsub.c
=====================================
@@ -857,6 +857,8 @@ static void decode_page_composition( decoder_t *p_dec, bs_t *s, uint16_t i_segme
     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 */
     uint16_t i_region_defs = (i_segment_length - 2) / 6;



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

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