Skip to content
Snippets Groups Projects
Commit 8a88f100 authored by Lyndon Brown's avatar Lyndon Brown Committed by Rémi Denis-Courmont
Browse files

mp4: fix null deref

This used one too many derefs, and then due to the earlier write of null
near the beginning of the function (making a null write here redundant)
there was thus a null-deref.

Regression from 0e9db4f7.
parent de3a522a
No related branches found
No related tags found
1 merge request!1557mp4: fix null deref
Pipeline #199320 passed with stage
in 13 minutes and 49 seconds
......@@ -371,7 +371,6 @@ size_t MP4_GetAttachments( const MP4_Box_t *p_root, input_attachment_t ***ppp_at
if ( i_count == 0 )
{
free( pp_attach );
**ppp_attach = NULL;
return 0;
}
......
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