Commit c9550928 authored by François Cartegnie's avatar François Cartegnie 🤞

access: dvb: scan: add missing check on private data descriptor

parent e7ec0bdc
......@@ -972,7 +972,7 @@ static void ParseNIT( vlc_object_t *p_obj, scan_t *p_scan,
msg_Dbg( p_obj, " * modulation %u", tscfg.i_modulation );
}
}
else if( p_dsc->i_tag == 0x5f )
else if( p_dsc->i_tag == 0x5f && p_dsc->i_length > 3 )
{
msg_Dbg( p_obj, " * private data specifier descriptor" );
i_private_data_id = GetDWBE( &p_dsc->p_data[0] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment