[vlc-commits] [Git][videolan/vlc][master] mux: asf: fix uninitialized data on flush
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Thu Sep 3 14:53:32 UTC 2026
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
b430d410 by François Cartegnie at 2026-09-03T16:42:11+02:00
mux: asf: fix uninitialized data on flush
fix #30084
- - - - -
1 changed file:
- modules/mux/asf.c
Changes:
=====================================
modules/mux/asf.c
=====================================
@@ -1140,7 +1140,7 @@ static block_t *asf_packet_flush( sout_mux_t *p_mux )
if( !p_sys->pk ) return 0;
- i_pad = p_sys->i_packet_size - p_sys->i_pk_used;
+ i_pad = p_sys->i_packet_size + i_preheader - p_sys->i_pk_used;
memset( p_sys->pk->p_buffer + p_sys->i_pk_used, 0, i_pad );
bo_init( &bo, p_sys->pk->p_buffer, 14 + i_preheader );
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b430d41044289865f0620fceaa03a65ef17f89a7
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b430d41044289865f0620fceaa03a65ef17f89a7
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