Skip to content
Snippets Groups Projects
Commit fbdacb6a authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

vlc_block: fix NULL dereference in block_ChainGather

parent fc81c4e2
No related branches found
No related tags found
No related merge requests found
......@@ -278,6 +278,8 @@ static inline block_t *block_ChainGather( block_t *p_list )
block_ChainProperties( p_list, NULL, &i_total, &i_length );
g = block_Alloc( i_total );
if( !g )
return NULL;
block_ChainExtract( p_list, g->p_buffer, g->i_buffer );
g->i_flags = p_list->i_flags;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment