[vlc-devel] commit: live555: fix a potential crash introduced by [ 169ecd7a1037e334fc675c35c64a7d1ef899c9a1] (Derk-Jan Hartman )
git version control
git at videolan.org
Tue Sep 9 02:18:21 CEST 2008
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 9 02:19:22 2008 +0200| [46c990ea85d3a796bb169f2399a0b0c28c136ca6] | committer: Derk-Jan Hartman
live555: fix a potential crash introduced by [169ecd7a1037e334fc675c35c64a7d1ef899c9a1]
(cherry picked from commit a27681ab5d1b15304048d42d31cebd035903cf4c)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46c990ea85d3a796bb169f2399a0b0c28c136ca6
---
modules/demux/live555.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 835594e..aeba245 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -551,7 +551,8 @@ describe:
psz_options = p_sys->rtsp->sendOptionsCmd( psz_url, psz_user, psz_pwd,
&authenticator );
- p_sys->b_get_param = strstr( psz_options, "GET_PARAMETER" ) ? true : false ;
+ if( psz_options )
+ p_sys->b_get_param = strstr( psz_options, "GET_PARAMETER" ) ? true : false ;
delete [] psz_options;
p_sdp = p_sys->rtsp->describeURL( psz_url, &authenticator,
More information about the vlc-devel
mailing list