[sr-dev] git:master:ffac3c32: topos_redis: safer size for snprintf buf to allow space for numbers

2017-09-20 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: ffac3c32fcff789bc4712f1b54f052445d33e089
URL: 
https://github.com/kamailio/kamailio/commit/ffac3c32fcff789bc4712f1b54f052445d33e089

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-09-20T13:40:22+02:00

topos_redis: safer size for snprintf buf to allow space for numbers

---

Modified: src/modules/topos_redis/topos_redis_storage.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/ffac3c32fcff789bc4712f1b54f052445d33e089.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ffac3c32fcff789bc4712f1b54f052445d33e089.patch

---

diff --git a/src/modules/topos_redis/topos_redis_storage.c 
b/src/modules/topos_redis/topos_redis_storage.c
index 6d2cf7dcf3..7c5313dee9 100644
--- a/src/modules/topos_redis/topos_redis_storage.c
+++ b/src/modules/topos_redis/topos_redis_storage.c
@@ -327,12 +327,12 @@ int tps_redis_insert_invite_branch(tps_data_t *td)
argc = 0;
 
rp = _tps_redis_cbuf;
-   rkey.len = snprintf(rp, TPS_REDIS_DATA_SIZE,
+   rkey.len = snprintf(rp, TPS_REDIS_DATA_SIZE-128,
"%.*sINVITE:%.*s:%.*s",
_tps_redis_bprefix.len, 
_tps_redis_bprefix.s,
td->a_callid.len, td->a_callid.s,
td->b_tag.len, td->b_tag.s);
-   if(rkey.len<0 || rkey.len>=TPS_REDIS_DATA_SIZE) {
+   if(rkey.len<0 || rkey.len>=TPS_REDIS_DATA_SIZE-128) {
LM_ERR("error or insufficient buffer size: %d\n", rkey.len);
return -1;
}


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] ims_registrar_pcscf: Add support for sec-agree parameters parsing (#1238)

2017-09-20 Thread ng-voice GmbH
Thanks! Looks okay!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1238#issuecomment-330823309___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] ims_registrar_pcscf: Add support for sec-agree parameters parsing (#1238)

2017-09-20 Thread ng-voice GmbH
Merged #1238.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1238#event-1257242419___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:0c47c62a: Merge pull request #1238 from tdimitrov/sec-agree

2017-09-20 Thread GitHub
Module: kamailio
Branch: master
Commit: 0c47c62aa29607c4f903afda451104da027cea67
URL: 
https://github.com/kamailio/kamailio/commit/0c47c62aa29607c4f903afda451104da027cea67

Author: ng-voice GmbH 
Committer: GitHub 
Date: 2017-09-20T13:26:32+02:00

Merge pull request #1238 from tdimitrov/sec-agree

ims_registrar_pcscf: Add support for sec-agree parameters parsing

---

Added: src/modules/ims_registrar_pcscf/sec_agree.c
Added: src/modules/ims_registrar_pcscf/sec_agree.h
Modified: src/modules/ims_registrar_pcscf/save.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/0c47c62aa29607c4f903afda451104da027cea67.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0c47c62aa29607c4f903afda451104da027cea67.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:52f9bc1e: ims_registrar_pcscf: Add support for sec-agree parameters parsing

2017-09-20 Thread Tsvetomir Dimitrov
Module: kamailio
Branch: master
Commit: 52f9bc1e9ec2747426bc347745df9d1892021fce
URL: 
https://github.com/kamailio/kamailio/commit/52f9bc1e9ec2747426bc347745df9d1892021fce

Author: Tsvetomir Dimitrov 
Committer: Tsvetomir Dimitrov 
Date: 2017-09-18T15:23:41+03:00

ims_registrar_pcscf: Add support for sec-agree parameters parsing

---

Added: src/modules/ims_registrar_pcscf/sec_agree.c
Added: src/modules/ims_registrar_pcscf/sec_agree.h
Modified: src/modules/ims_registrar_pcscf/save.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/52f9bc1e9ec2747426bc347745df9d1892021fce.diff
Patch: 
https://github.com/kamailio/kamailio/commit/52f9bc1e9ec2747426bc347745df9d1892021fce.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/alpine: Added packaging script for Alpine dist. (#1240)

2017-09-20 Thread Daniel-Constantin Mierla
Merged #1240.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1240#event-1257241401___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:be80d959: Merge pull request #1240 from sergey-safarov/alpine

2017-09-20 Thread GitHub
Module: kamailio
Branch: master
Commit: be80d95972d879d9d99e971ec03235160223ddae
URL: 
https://github.com/kamailio/kamailio/commit/be80d95972d879d9d99e971ec03235160223ddae

Author: Daniel-Constantin Mierla 
Committer: GitHub 
Date: 2017-09-20T13:25:47+02:00

Merge pull request #1240 from sergey-safarov/alpine

pkg/kamailio/alpine: Added packaging script for Alpine dist.

---

Added: pkg/kamailio/alpine/0001-kamdbctl.base.patch
Added: pkg/kamailio/alpine/0002-remove-spurious-execinfo.patch
Added: pkg/kamailio/alpine/0003-src_modules_tls_tls_init_c.patch
Added: pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch
Added: pkg/kamailio/alpine/APKBUILD
Added: pkg/kamailio/alpine/kamailio.cfg
Added: pkg/kamailio/alpine/kamailio.initd
Added: pkg/kamailio/alpine/kamailio.pre-install
Added: pkg/kamailio/alpine/kamailio.pre-upgrade
Added: pkg/kamailio/alpine/kamctl_build.patch

---

Diff:  
https://github.com/kamailio/kamailio/commit/be80d95972d879d9d99e971ec03235160223ddae.diff
Patch: 
https://github.com/kamailio/kamailio/commit/be80d95972d879d9d99e971ec03235160223ddae.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/alpine: Added packaging script for Alpine dist. (#1240)

2017-09-20 Thread Daniel-Constantin Mierla
Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1240#issuecomment-330823105___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Fixed tls initialization when used LibreSSL. Backport from OpenBSD (#1239)

2017-09-20 Thread Daniel-Constantin Mierla
Closed #1239.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1239#event-1257238698___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Fixed tls initialization when used LibreSSL. Backport from OpenBSD (#1239)

2017-09-20 Thread Daniel-Constantin Mierla
Thanks! Merged manually to format the commit message.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1239#issuecomment-330822805___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:634efd6b: tls: fixed initialization when LibreSSL is used

2017-09-20 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 634efd6b066c8302847aa4d72a4b5abda40eed75
URL: 
https://github.com/kamailio/kamailio/commit/634efd6b066c8302847aa4d72a4b5abda40eed75

Author: Sergey Safarov 
Committer: Daniel-Constantin Mierla 
Date: 2017-09-20T13:21:44+02:00

tls: fixed initialization when LibreSSL is used

- port from OpenBSD

---

Modified: src/modules/tls/tls_init.c
Modified: src/modules/tls/tls_locking.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/634efd6b066c8302847aa4d72a4b5abda40eed75.diff
Patch: 
https://github.com/kamailio/kamailio/commit/634efd6b066c8302847aa4d72a4b5abda40eed75.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] ims_registrar_pcscf: Add support for sec-agree parameters parsing (#1238)

2017-09-20 Thread Daniel-Constantin Mierla
Thanks for contribution! Hopefully @ngvoice or @jaybeepee have time to check a 
bit before merging.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1238#issuecomment-330821798___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Updated obs SPEC file (#1230)

2017-09-20 Thread Daniel-Constantin Mierla
Merged #1230.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1230#event-1257229764___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/obs: Updated obs SPEC file (#1230)

2017-09-20 Thread Daniel-Constantin Mierla
Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1230#issuecomment-330821522___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:bdd16fae: Merge pull request #1230 from sergey-safarov/spec_update11

2017-09-20 Thread GitHub
Module: kamailio
Branch: master
Commit: bdd16faefc3e6abe8e824f53f370b51993958b62
URL: 
https://github.com/kamailio/kamailio/commit/bdd16faefc3e6abe8e824f53f370b51993958b62

Author: Daniel-Constantin Mierla 
Committer: GitHub 
Date: 2017-09-20T13:17:19+02:00

Merge pull request #1230 from sergey-safarov/spec_update11

pkg/kamailio/obs: Updated obs SPEC file

---

Added: pkg/kamailio/obs/prjconf
Modified: pkg/kamailio/obs/kamailio.service
Modified: pkg/kamailio/obs/kamailio.spec
Modified: pkg/kamailio/obs/meta

---

Diff:  
https://github.com/kamailio/kamailio/commit/bdd16faefc3e6abe8e824f53f370b51993958b62.diff
Patch: 
https://github.com/kamailio/kamailio/commit/bdd16faefc3e6abe8e824f53f370b51993958b62.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] pkg/kamailio/alpine: Added packaging script for Alpine dist. (#1240)

2017-09-20 Thread sergey-safarov
 Pre-Submission Checklist
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, 
...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description
This scripts will be used for automated docker container builds
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1240

-- Commit Summary --

  * pkg/kamailio/alpine: Added packaging script for Alpine dist.

-- File Changes --

A pkg/kamailio/alpine/0001-kamdbctl.base.patch (57)
A pkg/kamailio/alpine/0002-remove-spurious-execinfo.patch (30)
A pkg/kamailio/alpine/0003-src_modules_tls_tls_init_c.patch (131)
A pkg/kamailio/alpine/0004-src_core_tcp_read_c.patch (20)
A pkg/kamailio/alpine/APKBUILD (506)
A pkg/kamailio/alpine/kamailio.cfg (108)
A pkg/kamailio/alpine/kamailio.initd (35)
A pkg/kamailio/alpine/kamailio.pre-install (6)
A pkg/kamailio/alpine/kamailio.pre-upgrade (1)
A pkg/kamailio/alpine/kamctl_build.patch (236)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1240.patch
https://github.com/kamailio/kamailio/pull/1240.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1240
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev