Module: kamailio
Branch: master
Commit: 6d5da24172622cbac989df4da15f8c3c38cb3f8c
URL: https://github.com/kamailio/kamailio/commit/6d5da24172622cbac989df4da15f8c3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-08-12T11:11:26+02:00
tls: generate README
---
Modified: modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/6d5da24172622cbac989df4da15f8c3…
Patch: https://github.com/kamailio/kamailio/commit/6d5da24172622cbac989df4da15f8c3…
---
diff --git a/modules/tls/README b/modules/tls/README
index d01a43b..4898190 100644
--- a/modules/tls/README
+++ b/modules/tls/README
@@ -398,7 +398,7 @@ Creating CA certificate
cd ca
2. create ca directory structure and files (see ca(1))
- mkdir demoCA #default CA name, edit /etc/ss/openssl.cnf
+ mkdir demoCA #default CA name, edit /etc/ssl/openssl.cnf
mkdir demoCA/private
mkdir demoCA/newcerts
touch demoCA/index.txt
@@ -1294,3 +1294,6 @@ modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
The code is currently maintained by Andrei Pelinescu-Onciul
<andrei(a)iptel.org>.
+
+ Install does not generate self-signed certificates by default anymore.
+ In order to generate them now you should do "make install-tls-cert"
Module: kamailio
Branch: 4.3
Commit: 68a12663a7bb5b3822312e66e00c34780b031933
URL: https://github.com/kamailio/kamailio/commit/68a12663a7bb5b3822312e66e00c347…
Author: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Date: 2015-08-11T15:50:34+03:00
dtrie: Set child to NULL when run out of SHM
The stop condition in dtrie_delete is node==NULL. Suppose the case when there
is no SHM memory left when trying to dtrie_insert(). The memory gets freed
by shm_free() but the pointer still points to it. This leads to segfault when
dtrie_delete tries to access that memory zone, in the given case. GDB says:
"Cannot access memory at address 0x1130000001d"
(cherry picked from commit 60ffee9cf54ff362026497036935746c9dbe62e5)
---
Modified: lib/trie/dtrie.c
---
Diff: https://github.com/kamailio/kamailio/commit/68a12663a7bb5b3822312e66e00c347…
Patch: https://github.com/kamailio/kamailio/commit/68a12663a7bb5b3822312e66e00c347…
---
diff --git a/lib/trie/dtrie.c b/lib/trie/dtrie.c
index a57f85d..2883829 100644
--- a/lib/trie/dtrie.c
+++ b/lib/trie/dtrie.c
@@ -152,6 +152,7 @@ int dtrie_insert(struct dtrie_node_t *root, const char *number, const unsigned i
if(node->child[digit]->child == NULL){
SHM_MEM_ERROR;
shm_free(node->child[digit]);
+ node->child[digit] = NULL;
return -1;
}
LM_DBG("allocate %lu bytes for %d root children pointer at %p\n",