crash fixed on wrong DB connection string
This commit is contained in:
parent
17755579ad
commit
f904f07969
@ -1,7 +1,9 @@
|
||||
08/03/2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
Version 4.1.1.2 'Vitari':
|
||||
08/14/2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
Version 4.1.2.1 'Vitari':
|
||||
- The origin attribute is verified in the subsequent
|
||||
session messages.
|
||||
- Crash fixed when the DB connection string is incorrect.
|
||||
- Minor docs fixes.
|
||||
|
||||
07/29/2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
Version 4.1.1.1 'Vitari':
|
||||
|
||||
3
INSTALL
3
INSTALL
@ -232,8 +232,7 @@ The following platforms have been used in the development:
|
||||
- FreeBSD 8.x, i386
|
||||
- PC-BSD 9.x, x86_64
|
||||
- Solaris 11, x86_64
|
||||
- Linux CentOS / Red Hat Enterprise Edition 6.3, x86_64 (amd64)
|
||||
- Linux CentOS / Red Hat Enterprise Edition 6.4, x86_32 (i386)
|
||||
- Linux CentOS / Red Hat Enterprise Edition 6.x-7.0, x86_64 (i386 & amd64)
|
||||
- Linux Debian 'Squeeze', i386
|
||||
- Linux Mint 14.1 'Nadia', i386
|
||||
- Linux Mint 16 'Petra', i386
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
# Common settings script.
|
||||
|
||||
TURNVERSION=4.1.1.2
|
||||
TURNVERSION=4.1.2.1
|
||||
BUILDDIR=~/rpmbuild
|
||||
ARCH=`uname -p`
|
||||
TURNSERVER_SVN_URL=http://coturn.googlecode.com/svn
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
Name: turnserver
|
||||
Version: 4.1.1.2
|
||||
Version: 4.1.2.1
|
||||
Release: 0%{dist}
|
||||
Summary: Coturn TURN Server
|
||||
|
||||
@ -293,8 +293,8 @@ fi
|
||||
%{_includedir}/turn/client/TurnMsgLib.h
|
||||
|
||||
%changelog
|
||||
* Sun Aug 03 2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
- Sync to 4.1.1.2
|
||||
* Thu Aug 14 2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
- Sync to 4.1.2.1
|
||||
* Tue Jul 29 2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
- Sync to 4.1.1.1
|
||||
* Tue Jul 22 2014 Oleg Moskalenko <mom040267@gmail.com>
|
||||
|
||||
@ -142,14 +142,16 @@ static Myconninfo *MyconninfoParse(char *userdb, char **errmsg) {
|
||||
turn_free(s0, strlen(s0)+1);
|
||||
}
|
||||
|
||||
if(!(co->dbname))
|
||||
co->dbname=strdup("0");
|
||||
if(!(co->host))
|
||||
co->host=strdup("127.0.0.1");
|
||||
if(!(co->user))
|
||||
co->user=strdup("");
|
||||
if(!(co->password))
|
||||
co->password=strdup("");
|
||||
if(co) {
|
||||
if(!(co->dbname))
|
||||
co->dbname=strdup("0");
|
||||
if(!(co->host))
|
||||
co->host=strdup("127.0.0.1");
|
||||
if(!(co->user))
|
||||
co->user=strdup("");
|
||||
if(!(co->password))
|
||||
co->password=strdup("");
|
||||
}
|
||||
|
||||
return co;
|
||||
}
|
||||
|
||||
@ -148,12 +148,14 @@ static Ryconninfo *RyconninfoParse(const char *userdb, char **errmsg) {
|
||||
turn_free(s0, strlen(s0)+1);
|
||||
}
|
||||
|
||||
if(!(co->dbname))
|
||||
co->dbname=strdup("0");
|
||||
if(!(co->host))
|
||||
co->host=strdup("127.0.0.1");
|
||||
if(!(co->password))
|
||||
co->password=strdup("");
|
||||
if(co) {
|
||||
if(!(co->dbname))
|
||||
co->dbname=strdup("0");
|
||||
if(!(co->host))
|
||||
co->host=strdup("127.0.0.1");
|
||||
if(!(co->password))
|
||||
co->password=strdup("");
|
||||
}
|
||||
|
||||
return co;
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#ifndef __IOADEFS__
|
||||
#define __IOADEFS__
|
||||
|
||||
#define TURN_SERVER_VERSION "4.1.1.2"
|
||||
#define TURN_SERVER_VERSION "4.1.2.1"
|
||||
#define TURN_SERVER_VERSION_NAME "Vitari"
|
||||
#define TURN_SOFTWARE "Coturn-" TURN_SERVER_VERSION " '" TURN_SERVER_VERSION_NAME "'"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user