Commit 2ba10fd2 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: mp4: fix NULL deref (cid #1313697)

parent 013f3489
......@@ -1864,10 +1864,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
}
}
if( p_udta == NULL && !b_attachment_set )
return VLC_EGENERIC;
SetupMeta( p_meta, p_udta );
if( p_udta == NULL )
{
if( !b_attachment_set )
return VLC_EGENERIC;
}
else SetupMeta( p_meta, p_udta );
return VLC_SUCCESS;
}
......
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