]> git.sesse.net Git - vlc/blobdiff - modules/demux/live555.cpp
live555: fix use-after-free in TCP rollover on MS-RTSP
[vlc] / modules / demux / live555.cpp
index 77cf7d2137d7ddd0eefa6e596c5117078fac5aad..b4188c320cf7b8118520cf0c56b6a8ea0a7a67d0 100644 (file)
@@ -1526,6 +1526,7 @@ static int RollOverTcp( demux_t *p_demux )
     p_sys->i_track = 0;
     p_sys->b_no_data = true;
     p_sys->i_no_data_ti = 0;
+    p_sys->p_out_asf = NULL;
 
     /* Reopen rtsp client */
     if( ( i_return = Connect( p_demux ) ) != VLC_SUCCESS )