[vlc-devel] [PATCH 1/3] demux: ts: fix uninitialized fields (fix #15319)

Jean-Baptiste Kempf jb at videolan.org
Sat Jan 16 18:58:25 CET 2016


The three are merged.

On 15 Jan, Hannes Domani wrote :
> ---
>  modules/demux/mpeg/ts.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
> index 3276584..342770f 100644
> --- a/modules/demux/mpeg/ts.c
> +++ b/modules/demux/mpeg/ts.c
> @@ -4500,7 +4500,7 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pes_t *p_pes,
>              }
>              else
>              {
> -                p_subs_es = malloc( sizeof(*p_subs_es) );
> +                p_subs_es = calloc( 1, sizeof(*p_subs_es) );
>                  if( !p_subs_es )
>                      break;
>  
> -- 
> 2.7.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list