      fSDPLines = strDup(sdpLines);
      delete[] sdpLines;
 diff -ru live.orig/liveMedia/RTSPClient.cpp live/liveMedia/RTSPClient.cpp
---- live.orig/liveMedia/RTSPClient.cpp 2010-05-30 01:20:31.000000000 +0300
-+++ live/liveMedia/RTSPClient.cpp      2010-06-06 00:39:08.000000000 +0300
-@@ -415,7 +415,8 @@
+--- live.orig/liveMedia/RTSPClient.cpp	2010-10-20 12:34:33.662177993 +0200
++++ live/liveMedia/RTSPClient.cpp	2010-10-20 12:34:04.762178010 +0200
+@@ -411,7 +411,8 @@
  int RTSPClient::connectToServer(int socketNum, portNumBits remotePortNum) {
    MAKE_SOCKADDR_IN(remoteName, fServerAddress, htons(remotePortNum));
    if (fVerbosityLevel >= 1) {

   if (connect(socketNum, (struct sockaddr*) &remoteName, sizeof remoteName) != 0) {
     if (envir().getErrno() == EINPROGRESS) {
diff -ru live.orig/liveMedia/RTSPServer.cpp live/liveMedia/RTSPServer.cpp
--- live.orig/liveMedia/RTSPServer.cpp	2010-09-23 17:15:48.000000000 +0200
+++ live/liveMedia/RTSPServer.cpp	2010-09-24 12:49:57.000000000 +0200
@@ -112,11 +112,12 @@
   char urlBuffer[100]; // more than big enough for "rtsp://<ip-address>:<port>/"
 
   portNumBits portNumHostOrder = ntohs(fServerPort.num());
+  char buf[16];
   if (portNumHostOrder == 554 /* the default port number */) {
-    sprintf(urlBuffer, "rtsp://%s/", our_inet_ntoa(ourAddress.sin_addr));

   delete clientSession;
 }
diff -ru live.orig/liveMedia/ServerMediaSession.cpp live/liveMedia/ServerMediaSession.cpp
--- live.orig/liveMedia/ServerMediaSession.cpp	2010-10-20 10:31:13.000000000 +0200
+++ live/liveMedia/ServerMediaSession.cpp	2010-10-20 12:34:04.772177998 +0200
@@ -185,7 +185,8 @@
 char* ServerMediaSession::generateSDPDescription() {
   struct in_addr ipAddress;
