Commit 72754868 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix use of uninitialized memory with raw UDP

(seriously, you should have switched to RTP for ages though)
parent 999b60b7
......@@ -224,6 +224,7 @@ static int Open( vlc_object_t *p_this )
ACCESS_SET_CALLBACKS( NULL, BlockChoose, Control, NULL );
p_access->info.b_prebuffered = VLC_FALSE;
MALLOC_ERR( p_access->p_sys, access_sys_t ); p_sys = p_access->p_sys;
memset (p_sys, 0, sizeof (*p_sys));
switch (proto)
{
......
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