[OpenSIPS-Devel] [OpenSIPS/opensips] c94887: digest+m_auth: Allow a domain in the digest userna...

2014-02-18 Thread Walter Doekes
Branch: refs/heads/1.9 Home: https://github.com/OpenSIPS/opensips Commit: c94887a5f5e950ee59e699f1bcfb3118d7cc78fb https://github.com/OpenSIPS/opensips/commit/c94887a5f5e950ee59e699f1bcfb3118d7cc78fb Author: Walter Doekes walter+git...@wjd.nu Date: 2014-02-05 (Wed, 05 Feb 2014

[OpenSIPS-Devel] [OpenSIPS/opensips] 26044b: digest+m_auth: Allow a domain in the digest userna...

2014-02-18 Thread Walter Doekes
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 26044bfee42c28d3d53516fbe54080a3a9420a87 https://github.com/OpenSIPS/opensips/commit/26044bfee42c28d3d53516fbe54080a3a9420a87 Author: Walter Doekes walter+git...@wjd.nu Date: 2014-02-05 (Wed, 05 Feb

Re: [OpenSIPS-Devel] [opensips] statistics: fix compiler warning in 32-bit environments (15784be)

2014-03-05 Thread Walter Doekes
Better yet! z A following integer conversion corresponds to a size_t or ssize_t argument. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. (#174)

2014-03-06 Thread Walter Doekes
(I squashes the two commits into one, just now.) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/174#issuecomment-36837723___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [opensips] xcap_client: Fix two mem corruptions. (#176)

2014-03-12 Thread Walter Doekes
See the two commits: - in both cases the first item of the linked list is not freed, - the freed memory is read - lastly a NULL is freed (or in the second case, a NULL-dereference) You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips

[OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix bounds checking by using a helper function. (#177)

2014-03-12 Thread Walter Doekes
Reported by: dsandras gt; About the bound checking error, the code was cutamp;pasted from another gt; place in the same file where the same error is still present: gt; ... Also I replaced a heap str with a stack one in build_dialoginfo. This one wasn#39;t freed either unless an error condition

Re: [OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix bounds checking by using a helper function. (#177)

2014-03-12 Thread Walter Doekes
return NULL; - } - memcpy(buf, sip:, 4); - memcpy(buf+4, pres_user-s, pres_user-len); - buf[pres_user-len+4] = '@'; - memcpy(buf + pres_user-len + 5, pres_domain-s, pres_domain-len); - buf[pres_user-len + 5 + pres_domain-len]= '\0'; - - pres_uri =

Re: [OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix bounds checking by using a helper function. (#177)

2014-03-12 Thread Walter Doekes
@@ -444,10 +429,6 @@ str* build_dialoginfo(str* pres_user, str* pres_domain) xmlCleanupParser(); return body; error: - if ( pres_uri ) - { - pkg_free(pres_uri); Here it was freed, but it wasn't when the function returned succesfully. --- Reply to this

[OpenSIPS-Devel] [OpenSIPS/opensips] 2d1e4a: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Walter Doekes
Branch: refs/heads/1.8 Home: https://github.com/OpenSIPS/opensips Commit: 2d1e4a8706cf256b2f0883e457d9598d2420399e https://github.com/OpenSIPS/opensips/commit/2d1e4a8706cf256b2f0883e457d9598d2420399e Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-26 (Wed, 26 Mar 2014

[OpenSIPS-Devel] [OpenSIPS/opensips] 3972d2: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Walter Doekes
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 3972d266958e6e49110a881e1c9733fa066873ff https://github.com/OpenSIPS/opensips/commit/3972d266958e6e49110a881e1c9733fa066873ff Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-26 (Wed, 26 Mar

[OpenSIPS-Devel] [OpenSIPS/opensips] 38dc20: Fix two mem corruptions.

2014-03-26 Thread Walter Doekes
Branch: refs/heads/1.10 Home: https://github.com/OpenSIPS/opensips Commit: 38dc20be0c20576510a8c57e296741c24a743a80 https://github.com/OpenSIPS/opensips/commit/38dc20be0c20576510a8c57e296741c24a743a80 Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-26 (Wed, 26 Mar

[OpenSIPS-Devel] [OpenSIPS/opensips] 9c3fdd: Fix two mem corruptions.

2014-03-26 Thread Walter Doekes
Branch: refs/heads/1.8 Home: https://github.com/OpenSIPS/opensips Commit: 9c3fdda8073fec5e67dcd55bd627c201a72d6d5b https://github.com/OpenSIPS/opensips/commit/9c3fdda8073fec5e67dcd55bd627c201a72d6d5b Author: Walter Doekes walter+git...@wjd.nu Date: 2014-03-26 (Wed, 26 Mar 2014

Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-05-01 Thread Walter Doekes
@@ -130,6 +131,18 @@ static int get_all_db_ucontacts(void *buf, int len, unsigned int flags, LM_DBG(buf: %p. flags: %d\n, buf, flags); + if (sockaddr_list_str.s) { + i = snprintf(query_socket, sizeof(query_socket), and socket in (%.*s), I can't find the spec

[OpenSIPS-Devel] [opensips] Fix a few typo's and double spaces in LM_* messages. (#232)

2014-05-19 Thread Walter Doekes
You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-misc_typos Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/232 -- Commit Summary -- * s/interger/integer/ * s/sever=/server=/ *

Re: [OpenSIPS-Devel] [opensips] Fix a few typo's and double spaces in LM_* messages. (#232)

2014-05-19 Thread Walter Doekes
Drat. Didn't mean to make 4 commits out of that. I'll squash 'm next time. Sorry :) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/232#issuecomment-43497369___ Devel mailing list

Re: [OpenSIPS-Devel] [opensips] RTPPROXY module: compatibility with topology hiding (#237)

2014-05-20 Thread Walter Doekes
} else { - LM_ERR(can't extract 2nd via found reply\n); + if (parse_headers(msg, HDR_VIA2_F, 0) != -1 You could make the `} else {` above an `} else if {`, that

Re: [OpenSIPS-Devel] [opensips] RTPPROXY module: compatibility with topology hiding (#237)

2014-05-20 Thread Walter Doekes
@@ -3229,6 +3229,8 @@ force_rtp_proxy(struct sip_msg* msg, char* str1, char* str2, char *setid, char * struct force_rtpp_args args; struct force_rtpp_args *ap; union sockaddr_union to; + struct socket_info *si; + struct dlg_cell * dlg; Please stay consistent with

Re: [OpenSIPS-Devel] [opensips] RTPPROXY module: compatibility with topology hiding (#238)

2014-05-21 Thread Walter Doekes
} else { - LM_ERR(can't extract 2nd via found reply\n); + if (parse_headers(msg, HDR_VIA2_F, 0) != -1 Hi! I believe I did suggest moving this `if` into the `else`

Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-05-22 Thread Walter Doekes
For the record. This should probably be improved to handle in-memory contacts as well, since this can now be binary-replicated (right?) 16:28 lirakis bogdan_vs, if there was a smart nat ping ... then i think you could do distributed usrloc out of the box with replication, path headers, and a

Re: [OpenSIPS-Devel] [opensips] Add topology_hiding() flag to also hide the callid for all requests/replies within a call (0f551f7)

2014-06-09 Thread Walter Doekes
If callid is shorter than topo_hiding_prefix.len, you'll be comparing random memory. In the worst case resulting in a segfault. Suggestion: add an `if (msg-callid-body.len topo_hiding_prefix.len ...` --- Reply to this email directly or view it on GitHub:

[OpenSIPS-Devel] [opensips] makefile: Move checks around for documentation dependencies. (#248)

2014-06-13 Thread Walter Doekes
The patch speaks for itself. Mainly it adds the `-z quot;$(DBHTMLXSL)quot;` check, so I don#39;t get unexplainable errors. You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-warn-if-no-docbook Or you can view, comment on it, or merge it online at:

[OpenSIPS-Devel] [opensips] Port topoh.so (topology hiding without dialog.so) from kamailio. (#249)

2014-06-13 Thread Walter Doekes
See the three commits. The changes were trivial. I don#39;t know about copyright and stuff though. You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-topoh-from-kamailio Or you can view, comment on it, or merge it online at:

Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread Walter Doekes
@@ -206,17 +206,35 @@ modparam(siptrace, duplicate_uri, sip:10.1.1.1:5888) 1.3.8. trace_local_ip (str) - The address to be used in fromip field for local generated - messages. If not set, the module sets it to the address of the - socket that will be used to send the message.

Re: [OpenSIPS-Devel] [opensips] Split fromip and toip columns (#253)

2014-06-19 Thread Walter Doekes
@@ -206,17 +206,35 @@ modparam(siptrace, duplicate_uri, sip:10.1.1.1:5888) 1.3.8. trace_local_ip (str) - The address to be used in fromip field for local generated - messages. If not set, the module sets it to the address of the - socket that will be used to send the message.

[OpenSIPS-Devel] [opensips] doc: Fix typo's. Always regenerate all docs. (#258)

2014-06-30 Thread Walter Doekes
- Fix a few typo#39;s (*global, *allocate and a few others). - Alter makefile so the docs are all touched when doing `make modules-readme`. - Run `make modules-readme` to regenerate text readme#39;s. You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips

[OpenSIPS-Devel] [opensips] Add Call-ID mangling support. Dialog module not needed. (#259)

2014-06-30 Thread Walter Doekes
Add the quot;spiralquot; module that mangles the call-id without requiring the dialog state to be kept. The `topoh` module pull request does the same, but more. This is limited to only altering the call-id header. You can merge this Pull Request by running: git pull

Re: [OpenSIPS-Devel] [opensips] doc: Fix typo's. Always regenerate all docs. (#258)

2014-07-01 Thread Walter Doekes
That's the flip side of the coin. The other side is that I don't need to alter the modules-filter when I *do* want to regenerate all. My problem with the current situation was that: - I needed to generate one README - I got 40% of the READMEs (because of the default selected modules) I changed

[OpenSIPS-Devel] [opensips] make: Let `make modules-readme modules=aaa_radius` work again. (#263)

2014-07-01 Thread Walter Doekes
See #258. You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-unbreak_modules_readme Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/263 -- Commit Summary -- * make: Let `make modules-readme

Re: [OpenSIPS-Devel] [opensips] Feature sipmsgvalidate for tofrom (#294)

2014-08-11 Thread Walter Doekes
- return 1; +return 1; You're reindenting huge bits of file here. Looks like your replacing tabs with four spaces. That doesn't help the review, nor the code base. Please use tabs for every 4 spaces and force-push over this. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] Feature sipmsgvalidate for tofrom (#294)

2014-08-11 Thread Walter Doekes
+if ((hdrs_len+2=msg-len) (strncmp(CRLF,msg-unparsed,CRLF_LEN)==0) ) +body.s = msg-unparsed + CRLF_LEN; +else if ( (hdrs_len+1=msg-len) +(*(msg-unparsed)=='\n' || *(msg-unparsed)=='\r' ) ) +body.s = msg-unparsed + 1; +else {

Re: [OpenSIPS-Devel] [opensips] Feature sipmsgvalidate for tofrom (#294)

2014-08-11 Thread Walter Doekes
- goto failed; - } - - if (body.len body.s) { - /* if it really has body, check for content type */ - ret = SV_NO_CONTENT_TYPE; - CHECK_HEADER(, content_type); - } - }

[OpenSIPS-Devel] [opensips] msg_translator: Passing MSG_TRANS_NOVIA_FLAG means don't touch Via. (#305)

2014-08-19 Thread Walter Doekes
Before this, if you passed the MSG_TRANS_NOVIA_FLAG flag to build_res_buf_from_sip_res, the msg-gt;via1-gt;next would get checked but not used. Now it#39;s not touched at all. You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-msg_trans_no_via-no_crash

Re: [OpenSIPS-Devel] [opensips] New assert script keyword for script debugging (#313)

2014-08-26 Thread Walter Doekes
Nice! I always wanted something like that. Does the string-part get it's pv's expanded? I'd want to put var(foo) is $var(foo) and not 42 in there. (And I'd prefer a few more spaces between every operator in the code.) --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] Port topoh.so (topology hiding without dialog.so) from kamailio. (#249)

2014-08-26 Thread Walter Doekes
Yes. That sounds reasonable. Thanks for looking into this :) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/249#issuecomment-53405415___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] Port topoh.so (topology hiding without dialog.so) from kamailio. (#249)

2014-08-26 Thread Walter Doekes
Closed #249. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/249#event-157244587___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#351)

2014-10-08 Thread Walter Doekes
You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-dialog-modparam-columns Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/351 -- Commit Summary -- * dialog: Fix dialog_admin documentation

Re: [OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#351)

2014-10-08 Thread Walter Doekes
I would think so. This is a very old bug. It's in kamailio as well. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/351#issuecomment-58351675___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#352)

2014-10-08 Thread Walter Doekes
(backport from b519d6997e6faa654ff4a513843359008f8cb66e) You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-dialog-modparam-columns-1.8 Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/352 -- Commit

[OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#353)

2014-10-08 Thread Walter Doekes
(backport from b519d6997e6faa654ff4a513843359008f8cb66e) You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-dialog-modparam-columns-1.9 Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/353 -- Commit

[OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#354)

2014-10-08 Thread Walter Doekes
(backport from b519d6997e6faa654ff4a513843359008f8cb66e) You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-dialog-modparam-columns-1.10 Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/354 -- Commit

[OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#355)

2014-10-08 Thread Walter Doekes
(backport from b519d6997e6faa654ff4a513843359008f8cb66e) You can merge this Pull Request by running: git pull https://github.com/wdoekes/opensips wjd-dialog-modparam-columns-1.11 Or you can view, comment on it, or merge it online at: https://github.com/OpenSIPS/opensips/pull/355 -- Commit

Re: [OpenSIPS-Devel] [opensips] dialog: Fix dialog_admin documentation regarding column names. (#351)

2014-10-08 Thread Walter Doekes
There you go. A bunch of pull request. Only conflicts were between master-1.8 (no mflags yet). 1.8 upwards to 1.11 was conflict-free. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, avpenv) function for exec module (#360)

2014-10-16 Thread Walter Doekes
+ * output - pseudovariable where to store the output from the + standard output of the command. Keep in mind that if this + parameter is set, the async paramater will not be taken in + consideration. + * input - String to be passed to the standard input of the +

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, avpenv) function for exec module (#360)

2014-10-16 Thread Walter Doekes
+ } else if (outvar) { + pid = __popen(command-s, r, pout); + } else { + pid = fork(); + if (pid == 0) { + execl(/bin/sh, /bin/sh, -c, command-s, NULL); + exit(-1); + } + } + + if

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, avpenv) function for exec module (#360)

2014-10-16 Thread Walter Doekes
+ + if (ferror(pin)) { + LM_ERR(writing pipe: %s\n, strerror(errno)); + ser_error=E_EXEC; + goto error; + } + pclose(pin); + } + + schedule_to_kill(pid); + wait(exit_status); +

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, avpenv) function for exec module (#360)

2014-10-17 Thread Walter Doekes
@@ -243,6 +246,48 @@ exec_getenv(HOSTNAME); exec_getenv(HOSTNAME, $avp(localhost)); ... +1.4.5. exec(command, [output], [input], [envavp]) + + Executes an external command. The input is passed to the + standard input of the new process, if specified, and the output + is saved

Re: [OpenSIPS-Devel] [opensips] Backporting filename in runtime error messages to 1.11 (#372)

2014-10-24 Thread Walter Doekes
@@ -142,6 +142,7 @@ struct action{ int type; /* forward, drop, log, send ...*/ action_elem_t elem[MAX_ACTION_ELEMS]; int line; + char *file; Shouln't this be `const char *` ? It's not like someone is allowed to alter it along the way, right? --- Reply to this email

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
@@ -332,6 +332,76 @@ exec_getenv(HOSTNAME, $avp(localhost)); /example /section + section + title + function moreinfo=noneexec(command, [output], [input], [error],[envavp])/function Could you change that to [input], [output], [error] ?

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ paraemphasiserror/emphasis - pseudovariable where to store the error from + the standard error of the process. + /para + /listitem + listitem + paraemphasisenvavp/emphasis - Avp where

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ para + WARNING: input/output/error parameters are not designed for a large amount of + data so one should be careful when using them because server could considerably be + slowed down. + /para + para +

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ /para + para + This function can be used from REQUEST_ROUTE, FAILURE_ROUTE, + LOCAL_ROUTE, STARTUP_ROUTE, TIMER_ROUTE, EVENT_ROUTE, ONREPLY_ROUTE. + /para + example + titlefunction

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
@@ -51,6 +51,7 @@ int schedule_to_kill( int pid ); * @stream: stream to be returned to the caller */ pid_t __popen(const char *cmd, const char *type, FILE **stream); +pid_t ___popen(const char *cmd, FILE **, FILE**, FILE**); That's not very inventively named, is it? :-D Python popen2

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ if ((buflen + tmplen) = MAX_BUF_SIZE) { + LM_WARN(no more space in output buffer\n); + break; + } + memcpy(buf+buflen, tmpbuf, tmplen); + buflen += tmplen; + + outval.flags = PV_VAL_STR;

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ goto error; + } + + if (ferror(pin)) { + ser_error=E_EXEC; + goto error; + } + pclose(pin); + } + + schedule_to_kill(pid); + wait(exit_status); + + if

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ return -1; + } + } + + if (errvar) { + if (read_and_write2var(msg, perr, errvar) 0) { + LM_ERR(failed reading stderr from pipe\n); + return -1; + } + } + + ret=1; +

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
+ } + return 0; +} + +static inline int setenvvar(struct hf_wrapper** hf, int_str* value, int idx) +{ + #define OSIPS_EXEC OSIPS_EXEC_ + + + int len=0; + str sidx; + + sidx.s = int2str((unsigned long)idx, sidx.len); + +

Re: [OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

2014-10-29 Thread Walter Doekes
Thanks for fixing the other issues :) --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/pull/375#issuecomment-60891337___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] Add listen interface (socket) checking to db based natping. (#127)

2014-11-04 Thread Walter Doekes
That would suit my needs indeed; and make more sense than the awkward query that we do now. Thinking out loud here: where do we get this ID from? Do we add a `server_id` integer parameter to `usrloc`? Or should we generate one automatically? If we use a parameter and default it to `1`, we get

[OpenSIPS-Devel] [opensips] cfgutils: Clarify shvset/varset error message. (#404)

2015-01-28 Thread Walter Doekes
You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/404 -- Commit Summary -- * cfgutils: Clarify shvset/varset error message. -- File Changes -- M modules/cfgutils/shvar.c (3) -- Patch Links --

Re: [OpenSIPS-Devel] [opensips] F_MALLOC: suppress warnings for free(NULL) (17d639b)

2015-06-15 Thread Walter Doekes
Shouldn't you fix the caller that pkg_free's without checking for NULL instead? If you allow it, then you might as well drop all the `if(buf)` before every `pkg_free(buf)`. Allowing both makes the code inconsistent. Right? --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] travis: use FASTER compile time (489c300)

2015-08-27 Thread Walter Doekes
You do know that `-j` does not restrict the number of processes? ``` -j [jobs], --jobs[=jobs] Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the last one is effective. If the -j option is given without an

[OpenSIPS-Devel] [opensips] dialog: Document that unset_dlg_profile can be used from request_route. (#664)

2015-10-02 Thread Walter Doekes
This has been possible since 23f2322d in 1.8 and higher. You can view, comment on, or merge this pull request online at: https://github.com/OpenSIPS/opensips/pull/664 -- Commit Summary -- * dialog: Document that unset_dlg_profile can be used from request_route. -- File Changes -- M

Re: [OpenSIPS-Devel] [opensips] Remove annoying LM_INFO (d6d3dd5)

2015-11-27 Thread Walter Doekes
Compile error? And another one below.. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/commit/d6d3dd5bfe1636ad420af2a1fe3492fb22507944#commitcomment-14655312___ Devel mailing list Devel@lists.opensips.org

[OpenSIPS-Devel] [OpenSIPS/opensips] 21dae8: Fix mantainer-clean -> maintainer-clean typo

2019-04-24 Thread Walter Doekes
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 21dae83c2659edfa0b2a10ed3ebe616084cf0b6b https://github.com/OpenSIPS/opensips/commit/21dae83c2659edfa0b2a10ed3ebe616084cf0b6b Author: Walter Doekes Date: 2019-04-24 (Wed, 24 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 8f7f8f: Work around a few poor compiler warnings

2019-04-24 Thread Walter Doekes
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8f7f8f38c53ab240e8eaff9f894b35e045d84614 https://github.com/OpenSIPS/opensips/commit/8f7f8f38c53ab240e8eaff9f894b35e045d84614 Author: Walter Doekes Date: 2019-04-24 (Wed, 24 Apr 2019) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] a9b4c1: proto_hep: Fix HEPv3 IPv6 destination contents (se...

2020-05-11 Thread Walter Doekes
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a9b4c1927ba71358630ed28b842477ee57dc146e https://github.com/OpenSIPS/opensips/commit/a9b4c1927ba71358630ed28b842477ee57dc146e Author: Walter Doekes Date: 2020-05-11 (Mon, 11 May 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 46ee34: proto_hep: Fix HEPv3 IPv6 destination contents (se...

2020-05-11 Thread Walter Doekes
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 46ee34b30159d16fcd5aaa234654fdb71db0daec https://github.com/OpenSIPS/opensips/commit/46ee34b30159d16fcd5aaa234654fdb71db0daec Author: Walter Doekes Date: 2020-05-11 (Mon, 11 May 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] d3d160: usrloc: Update doxygen comment about packing get_a...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d3d160bab47962520f6b013ace29ef5f5247657c https://github.com/OpenSIPS/opensips/commit/d3d160bab47962520f6b013ace29ef5f5247657c Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] dd3db5: usrloc: Update doxygen comment about packing get_a...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: dd3db539bbe0ff98d53ece86a0f06eb1c427f8f1 https://github.com/OpenSIPS/opensips/commit/dd3db539bbe0ff98d53ece86a0f06eb1c427f8f1 Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] c2e824: usrloc: Update doxygen comment about packing get_a...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c2e8248de7cedec8a8542abd20762cb46a0a8711 https://github.com/OpenSIPS/opensips/commit/c2e8248de7cedec8a8542abd20762cb46a0a8711 Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] df67ba: Fix next_hop crash (seen in nathelper nh_timer) du...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: df67bac58b260ec426c945c58859978a78c6b67d https://github.com/OpenSIPS/opensips/commit/df67bac58b260ec426c945c58859978a78c6b67d Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] b261b6: Fix next_hop crash (seen in nathelper nh_timer) du...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b261b675bffebf0fd3b77503d53da13ce3b6a2c8 https://github.com/OpenSIPS/opensips/commit/b261b675bffebf0fd3b77503d53da13ce3b6a2c8 Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] da4884: Fix next_hop crash (seen in nathelper nh_timer) du...

2020-09-02 Thread Walter Doekes
Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: da488403c71b3effb994c7e95310f059fa36ff2c https://github.com/OpenSIPS/opensips/commit/da488403c71b3effb994c7e95310f059fa36ff2c Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] da98ca: Fix memory corruption in usrloc/ul_evi

2021-06-09 Thread Walter Doekes
Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: da98caf62251d1e5e72ff22b8c9a2d98f5b64eaf https://github.com/OpenSIPS/opensips/commit/da98caf62251d1e5e72ff22b8c9a2d98f5b64eaf Author: Walter Doekes Date: 2021-06-09 (Wed, 09 Jun 2021) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 8da4b5: Reduce db_is_neq_type complexity

2021-07-01 Thread Walter Doekes
Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 8da4b56eb89fd304b92626a79526bf860c98f326 https://github.com/OpenSIPS/opensips/commit/8da4b56eb89fd304b92626a79526bf860c98f326 Author: Walter Doekes Date: 2021-07-01 (Thu, 01 Jul 2021) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] fddb7e: Fix crash in db_timer_udomain() when the database ...

2021-04-26 Thread Walter Doekes
Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: fddb7eafb586a104203cf194a71b2bbc0e90655f https://github.com/OpenSIPS/opensips/commit/fddb7eafb586a104203cf194a71b2bbc0e90655f Author: Walter Doekes Date: 2021-04-26 (Mon, 26 Apr 2021) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] 71d780: Fix crash in db_timer_udomain() when the database ...

2021-04-26 Thread Walter Doekes
Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 71d7801e6e64c9061580fc7186d26e3f2b97c599 https://github.com/OpenSIPS/opensips/commit/71d7801e6e64c9061580fc7186d26e3f2b97c599 Author: Walter Doekes Date: 2021-04-26 (Mon, 26 Apr 2021) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] ec0a7e: Don't forget to release the insertq lock when down...

2021-04-27 Thread Walter Doekes
Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: ec0a7e6fcabc04463637a20a9919b3c6a429d441 https://github.com/OpenSIPS/opensips/commit/ec0a7e6fcabc04463637a20a9919b3c6a429d441 Author: Walter Doekes Date: 2021-04-27 (Tue, 27 Apr 2021) Changed paths

[OpenSIPS-Devel] [OpenSIPS/opensips] ba7d6a: Restore registrar 'f' flag behaviour for "sql-only...

2021-03-24 Thread Walter Doekes
Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: ba7d6a7b21a2450b0d8b1f93125974b685c00f51 https://github.com/OpenSIPS/opensips/commit/ba7d6a7b21a2450b0d8b1f93125974b685c00f51 Author: Walter Doekes Date: 2021-03-24 (Wed, 24 Mar 2021) Changed paths