• Francois Cartegnie's avatar
    libmp4: fix segfault · c7014014
    Francois Cartegnie authored
    Le 28/10/2014 23:11, Frédéric Yhuel a écrit :
    >  static int MP4_NextBox( stream_t *p_stream, MP4_Box_t *p_box )
    >  {
    > -    MP4_Box_t box;
    > +    MP4_Box_t box = {0};
    >
    >      if( !p_box )
    >      {
    >
    
    Better fail early. (untested, no sample)
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    c7014014
libmp4.c 145 KB