[sr-dev] git:master:f2958e58: permissions: safety check for trusted hash table

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f2958e5861a96e40f0aca05d5d5bd7fa14c2089e URL: https://github.com/kamailio/kamailio/commit/f2958e5861a96e40f0aca05d5d5bd7fa14c2089e Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T09:04:28+02:00 permissions: safety ch

Re: [sr-dev] [kamailio] kamcmd permissions.trustedReload crashes when using MySQL (#228)

2015-07-17 Thread Daniel-Constantin Mierla
Closed #228. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/228#event-358252840___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Re: [sr-dev] [kamailio] kamcmd permissions.trustedReload crashes when using MySQL (#228)

2015-07-17 Thread Daniel-Constantin Mierla
Pushed the patch f2958e5861a96e40f0aca05d5d5bd7fa14c2089e Re-open if still and issue. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/228#issuecomment-122199509___ sr-dev mailing list sr-dev@lists.sip-r

Re: [sr-dev] [kamailio] http_query causes memory corruption with AVPs (#212)

2015-07-17 Thread Daniel-Constantin Mierla
Checking a bit again on this issue, it might be due to the http response you get. You say it is specific only to an URL, otherwise you can't reproduce it. In the trace you pasted with the http response, the content-length is 15, but the body size seems different, as it is 'GRIM SCOTT'. Is it lik

[sr-dev] some potential utils/http_query() issues

2015-07-17 Thread Daniel-Constantin Mierla
Hello, while investigating https://github.com/kamailio/kamailio/issues/212, I noticed some potential issues in http_query() from utils module. Not being the developer and not using this function myself that much so far, I wanted to get others reviewing my remarks. 1) at line 168 in the modules/ut

[sr-dev] git:master:8cf4696b: modules/cdp: update auth session timeout when it is = lifetime as well...

2015-07-17 Thread jaybeepee
Module: kamailio Branch: master Commit: 8cf4696b66fe9475a125b520c8dcb7f96e264ecd URL: https://github.com/kamailio/kamailio/commit/8cf4696b66fe9475a125b520c8dcb7f96e264ecd Author: jaybeepee Committer: jaybeepee Date: 2015-07-17T12:27:48+02:00 modules/cdp: update auth session timeout when it is

[sr-dev] git:4.3:9c2dbc86: modules/[rls|presence_xml]: fixes warning [-Wtautological-compare]

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 9c2dbc86a63c6bc403798d8ba48dfea764ca2537 URL: https://github.com/kamailio/kamailio/commit/9c2dbc86a63c6bc403798d8ba48dfea764ca2537 Author: Mikko Lehto Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:23:47+02:00 modules/[rls|presence_xml]: fixes warn

[sr-dev] git:4.3:5d1fe9db: prevent jansson from shuffling key order in json

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 5d1fe9db6ef3da2d349a1b77bd441eda19ff7aa0 URL: https://github.com/kamailio/kamailio/commit/5d1fe9db6ef3da2d349a1b77bd441eda19ff7aa0 Author: kelchy Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:25:39+02:00 prevent jansson from shuffling key order in

[sr-dev] git:4.3:a3f01fa8: core: update release notes in NEWS

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: a3f01fa8abc6abf885bb77263e3ef5b275a7edc6 URL: https://github.com/kamailio/kamailio/commit/a3f01fa8abc6abf885bb77263e3ef5b275a7edc6 Author: Fred Posner Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:26:46+02:00 core: update release notes in NEWS -

[sr-dev] git:4.3:05ac2a2b: core: fix matching network addresses with bitmask non divisible to 8

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 05ac2a2b88f476b0fd32b1bf314b2357eedfceb0 URL: https://github.com/kamailio/kamailio/commit/05ac2a2b88f476b0fd32b1bf314b2357eedfceb0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:25:58+02:00 core: fix matching networ

[sr-dev] git:4.3:563cc6e0: INSTALL: updated bug tracker URL

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 563cc6e069079a66839ab1a9a0c7e12139cca6d9 URL: https://github.com/kamailio/kamailio/commit/563cc6e069079a66839ab1a9a0c7e12139cca6d9 Author: Fred Posner Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:25:21+02:00 INSTALL: updated bug tracker URL - fi

[sr-dev] git:4.3:6acc9884: pv: documented pv_xavp_print() function

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 6acc988416ebfd03e4471cb11ae25e5c53690945 URL: https://github.com/kamailio/kamailio/commit/6acc988416ebfd03e4471cb11ae25e5c53690945 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:27:49+02:00 pv: documented pv_xavp_pr

[sr-dev] git:4.3:48996cc1: modules/htable: improves error message when loading from database

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 48996cc1e879a2abf96306fc69ace2a86b8ef836 URL: https://github.com/kamailio/kamailio/commit/48996cc1e879a2abf96306fc69ace2a86b8ef836 Author: Mikko Lehto Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:24:41+02:00 modules/htable: improves error message

[sr-dev] git:4.3:b896bb31: Makefile.groups: rename usrloc_dmq to dmq_usrloc

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: b896bb31155240011c32ff6444c0f30c269ae6d0 URL: https://github.com/kamailio/kamailio/commit/b896bb31155240011c32ff6444c0f30c269ae6d0 Author: Paul Arnold Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:29:29+02:00 Makefile.groups: rename usrloc_dmq to

[sr-dev] git:4.2:f06fc524: core: fix matching network addresses with bitmask non divisible to 8

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.2 Commit: f06fc524de25e09549f7fbb57a0f08fb2765267e URL: https://github.com/kamailio/kamailio/commit/f06fc524de25e09549f7fbb57a0f08fb2765267e Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:36:57+02:00 core: fix matching networ

[sr-dev] git:4.3:02ba3dd9: permissions: safety check for trusted hash table

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 02ba3dd9fbb41fb3f03fa230672c72acedc39f0d URL: https://github.com/kamailio/kamailio/commit/02ba3dd9fbb41fb3f03fa230672c72acedc39f0d Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:30:59+02:00 permissions: safety check

[sr-dev] git:4.3:ff31270f: Update pipelimit_admin.xml

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: ff31270f9419d275bcf532f666075903b0b26a08 URL: https://github.com/kamailio/kamailio/commit/ff31270f9419d275bcf532f666075903b0b26a08 Author: Fred Posner Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:30:48+02:00 Update pipelimit_admin.xml - added in

[sr-dev] git:4.3:27c0918a: etc/kamailio-oob.cfg: remove modules_k from mpath

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 27c0918a9198e6c7d684541ddfabe598d35dbba8 URL: https://github.com/kamailio/kamailio/commit/27c0918a9198e6c7d684541ddfabe598d35dbba8 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:30:31+02:00 etc/kamailio-oob.cfg: rem

[sr-dev] git:4.3:6279f50a: Makefile.defs: detect gcc version 5.0+

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 6279f50a2cdbcba34226f959f40258bb768954bc URL: https://github.com/kamailio/kamailio/commit/6279f50a2cdbcba34226f959f40258bb768954bc Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:28:04+02:00 Makefile.defs: detect gcc

[sr-dev] git:4.3:3551d707: pv: catch early setting $rU with empty string

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.3 Commit: 3551d707fa497554f3da767e9fba8e046f83b417 URL: https://github.com/kamailio/kamailio/commit/3551d707fa497554f3da767e9fba8e046f83b417 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:29:57+02:00 pv: catch early setting $

[sr-dev] git:4.1:bd85c1d1: core: fix matching network addresses with bitmask non divisible to 8

2015-07-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.1 Commit: bd85c1d19fc0e1c2d706282b954a2baa1665d34f URL: https://github.com/kamailio/kamailio/commit/bd85c1d19fc0e1c2d706282b954a2baa1665d34f Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2015-07-17T12:37:50+02:00 core: fix matching networ

Re: [sr-dev] [kamailio] http_query causes memory corruption with AVPs (#212)

2015-07-17 Thread scottgrim
It's a plain text response to a CNAM query so yes, it's just "GRIM SCOTT". --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/212#issuecomment-122295604___ sr-dev mailing list sr-dev@lists.sip-router.org ht

Re: [sr-dev] [kamailio] http_query causes memory corruption with AVPs (#212)

2015-07-17 Thread Daniel-Constantin Mierla
Right, but as I said, the Content-Leght header expects the body to have the size 15, so the application building the response does something wrong. Kamailio should not crash anyway and catch invalid responses, but I want to identify properly the issue in order to address it. I started some discu

Re: [sr-dev] [kamailio] http_query causes memory corruption with AVPs (#212)

2015-07-17 Thread scottgrim
Looking back at the hex output of the HTTP packet, I see that they padded the response to 15 characters with spaces (0x20) so the Content-Length is actually correct. The spaces are just lost in the text output on github because it's HTML which has a nasty habit of stripping blank spaces. ---

[sr-dev] Debian Packaging & KamCMD

2015-07-17 Thread Carsten Bock
Hi, i've noticed, that the current Debian-Packaging uses the current directory as RUN_DIR for tools like kamcmd. Due to this, i get the following error when running kamcmd (from the Debian-Packages): ~# kamcmd ERROR: connect_unix_sock: connect(/home/carsten/build/ims/sip-router/debian/kamailio/v

Re: [sr-dev] [kamailio] http_query causes memory corruption with AVPs (#212)

2015-07-17 Thread scottgrim
I can't seem to recreate it any more. I compiled from source with DBG_QM_MALLOC and it worked fine with no segfault and $avp(cnam) got populated from the http_query function. So I completely removed kamailio including the libs, etc. and did a yum reinstall on it to get the original prebuilt ve

Re: [sr-dev] some potential utils/http_query() issues

2015-07-17 Thread Alex Balashov
On 07/17/2015 04:07 AM, Daniel-Constantin Mierla wrote: 3) in write_function(), it seems that for successive calls of the function one extra byte is added to the size. It is intended for keeping ending '\0', but should be enough only once. Could be harmless (few extra bytes allocated, when not r