libasf.c: Don't store pointer to bad data. Fixes #992

Btw when did "crash" change into "denial of service"?
parent eef3b9d9
......@@ -1292,7 +1292,7 @@ static int ASF_ReadObject( stream_t *s, asf_object_t *p_obj,
}
/* link this object with father */
if( p_father )
if( p_father && ! i_result )
{
if( p_father->common.p_first )
{
......
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