]> git.sesse.net Git - vlc/commit
rtp sout: fix another race condition in RTSP
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 28 Jan 2010 00:59:43 +0000 (01:59 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Thu, 28 Jan 2010 00:59:43 +0000 (01:59 +0100)
commit69ec164abb756871a3b7421493d28da1288a6bad
tree8081e5b2d1104225e5b9f81b1d2f7d97dc269557
parentb471a8b1aeac35b27b3cb2cb8c102689f7b33dfd
rtp sout: fix another race condition in RTSP

When RTSP is shut down, the server destroys sessions (with no locking)
while clients are still able to concurrently access them, potentially
leading to a crash. Make sure we unregister the RTSP URL before
cleaning up (then indeed no locking is needed).
modules/stream_out/rtsp.c