kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
July
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
November 2018
----- 2025 -----
July 2025
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
22 participants
299 discussions
Start a n
N
ew thread
Still Failing: kamailio/kamailio#6671 (master - 95d56e9)
by Travis CI
19 Nov '18
19 Nov '18
Build Update for kamailio/kamailio ------------------------------------- Build: #6671 Status: Still Failing Duration: 6 mins and 21 secs Commit: 95d56e9 (master) Author: Daniel-Constantin Mierla Message: siptrace: convert status code to string using static buffer function View the changeset:
https://github.com/kamailio/kamailio/compare/c571efefebc3...95d56e986e90
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/456866391?utm_medium=notific…
-- You can unsubscribe from build emails from the kamailio/kamailio repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=3596148&ut…
. Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificati…
. Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
.
1
0
0
0
git:master:95d56e98: siptrace: convert status code to string using static buffer function
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: 95d56e986e90b0d9a7527d7fa026cb510b41d9c5 URL:
https://github.com/kamailio/kamailio/commit/95d56e986e90b0d9a7527d7fa026cb5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T10:01:21+01:00 siptrace: convert status code to string using static buffer function --- Modified: src/modules/siptrace/siptrace.c --- Diff:
https://github.com/kamailio/kamailio/commit/95d56e986e90b0d9a7527d7fa026cb5…
Patch:
https://github.com/kamailio/kamailio/commit/95d56e986e90b0d9a7527d7fa026cb5…
--- diff --git a/src/modules/siptrace/siptrace.c b/src/modules/siptrace/siptrace.c index d1d32661fa..7de96b4b5d 100644 --- a/src/modules/siptrace/siptrace.c +++ b/src/modules/siptrace/siptrace.c @@ -1136,7 +1136,7 @@ static void trace_onreply_in(struct cell *t, int type, struct tmcb_params *ps) siptrace_data_t sto; sip_msg_t *msg; sip_msg_t *req; - char statusbuf[8]; + char statusbuf[INT2STR_MAX_LEN]; if(t == NULL || t->uas.request == 0 || ps == NULL) { LM_DBG("no uas request, local transaction\n"); @@ -1170,8 +1170,11 @@ static void trace_onreply_in(struct cell *t, int type, struct tmcb_params *ps) sto.method = get_cseq(msg)->method; - strcpy(statusbuf, int2str(ps->code, &sto.status.len)); - sto.status.s = statusbuf; + sto.status.s = int2strbuf(ps->code, statusbuf, INT2STR_MAX_LEN, &sto.status.len); + if(sto.status.s == 0) { + LM_ERR("failure to get the status string\n"); + return; + } sto.fromip.len = snprintf(sto.fromip_buff, SIPTRACE_ADDR_MAX, "%s:%s:%d", siptrace_proto_name(msg->rcv.proto), @@ -1218,7 +1221,7 @@ static void trace_onreply_out(struct cell *t, int type, struct tmcb_params *ps) struct sip_msg *msg; struct sip_msg *req; struct ip_addr to_ip; - char statusbuf[8]; + char statusbuf[INT2STR_MAX_LEN]; dest_info_t *dst; if(t == NULL || t->uas.request == 0 || ps == NULL) { @@ -1293,8 +1296,11 @@ static void trace_onreply_out(struct cell *t, int type, struct tmcb_params *ps) } } - strcpy(statusbuf, int2str(ps->code, &sto.status.len)); - sto.status.s = statusbuf; + sto.status.s = int2strbuf(ps->code, statusbuf, INT2STR_MAX_LEN, &sto.status.len); + if(sto.status.s == 0) { + LM_ERR("failure to get the status string\n"); + return; + } memset(&to_ip, 0, sizeof(struct ip_addr)); dst = ps->dst; @@ -1341,7 +1347,7 @@ static void trace_sl_onreply_out(sl_cbp_t *slcbp) siptrace_data_t sto; sip_msg_t *msg; ip_addr_t to_ip; - char statusbuf[5]; + char statusbuf[INT2STR_MAX_LEN]; if(slcbp == NULL || slcbp->req == NULL) { LM_ERR("bad parameters\n"); @@ -1385,8 +1391,11 @@ static void trace_sl_onreply_out(sl_cbp_t *slcbp) } } - strcpy(statusbuf, int2str(slcbp->code, &sto.status.len)); - sto.status.s = statusbuf; + sto.status.s = int2strbuf(slcbp->code, statusbuf, INT2STR_MAX_LEN, &sto.status.len); + if(sto.status.s == 0) { + LM_ERR("failure to get the status string\n"); + return; + } memset(&to_ip, 0, sizeof(struct ip_addr)); if(slcbp->dst == 0) {
1
0
0
0
Still Failing: kamailio/kamailio#6670 (master - c571efe)
by Travis CI
19 Nov '18
19 Nov '18
Build Update for kamailio/kamailio ------------------------------------- Build: #6670 Status: Still Failing Duration: 6 mins and 3 secs Commit: c571efe (master) Author: Daniel-Constantin Mierla Message: smsops: free after error log message printing a field View the changeset:
https://github.com/kamailio/kamailio/compare/372993c82d2e...c571efefebc3
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/456861437?utm_medium=notific…
-- You can unsubscribe from build emails from the kamailio/kamailio repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=3596148&ut…
. Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificati…
. Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
.
1
0
0
0
git:master:c571efef: smsops: free after error log message printing a field
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: c571efefebc305b2049eb55458cb0ac1dc3202bb URL:
https://github.com/kamailio/kamailio/commit/c571efefebc305b2049eb55458cb0ac…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T09:47:58+01:00 smsops: free after error log message printing a field --- Modified: src/modules/smsops/smsops_impl.c --- Diff:
https://github.com/kamailio/kamailio/commit/c571efefebc305b2049eb55458cb0ac…
Patch:
https://github.com/kamailio/kamailio/commit/c571efefebc305b2049eb55458cb0ac…
--- diff --git a/src/modules/smsops/smsops_impl.c b/src/modules/smsops/smsops_impl.c index 8150d081d6..8df667bb77 100644 --- a/src/modules/smsops/smsops_impl.c +++ b/src/modules/smsops/smsops_impl.c @@ -564,9 +564,9 @@ int decode_3gpp_sms(struct sip_msg *msg) { // Check for malicious length, which might cause buffer overflow if(udh_read + ie->data.len + 2 /* two octets are read so far */ > udh_len) { - pkg_free(ie); LM_ERR("IE Lenght for IE id %d is bigger than the remaining User-Data element!\n", ie->identifier); + pkg_free(ie); return -1; }
1
0
0
0
Still Failing: kamailio/kamailio#6668 (master - 372993c)
by Travis CI
19 Nov '18
19 Nov '18
Build Update for kamailio/kamailio ------------------------------------- Build: #6668 Status: Still Failing Duration: 5 mins and 56 secs Commit: 372993c (master) Author: Daniel-Constantin Mierla Message: tm: t_serial - safety check for searched xavps View the changeset:
https://github.com/kamailio/kamailio/compare/78225d064a76...372993c82d2e
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/456854246?utm_medium=notific…
-- You can unsubscribe from build emails from the kamailio/kamailio repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=3596148&ut…
. Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificati…
. Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
.
1
0
0
0
git:master:372993c8: tm: t_serial - safety check for searched xavps
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: 372993c82d2ebdafe9f7e1a672a3e3141a8ae2f5 URL:
https://github.com/kamailio/kamailio/commit/372993c82d2ebdafe9f7e1a672a3e31…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T09:24:39+01:00 tm: t_serial - safety check for searched xavps --- Modified: src/modules/tm/t_serial.c --- Diff:
https://github.com/kamailio/kamailio/commit/372993c82d2ebdafe9f7e1a672a3e31…
Patch:
https://github.com/kamailio/kamailio/commit/372993c82d2ebdafe9f7e1a672a3e31…
--- diff --git a/src/modules/tm/t_serial.c b/src/modules/tm/t_serial.c index 8f8ee0646d..68b8afc1c3 100644 --- a/src/modules/tm/t_serial.c +++ b/src/modules/tm/t_serial.c @@ -599,10 +599,18 @@ int ki_t_next_contacts(struct sip_msg* msg) xavp_rm(prev_xavp, NULL); vavp = xavp_get(&q_flag_name, xavp->val.v.xavp); - q_flag = vavp->val.v.i; + if(vavp) { + q_flag = vavp->val.v.i; + } else { + q_flag = 0; + } vavp = xavp_get(&uri_name, xavp->val.v.xavp); - uri = vavp->val.v.s; + if(vavp) { + uri = vavp->val.v.s; + } else { + uri.len = 0; + } vavp = xavp_get(&dst_uri_name, xavp->val.v.xavp); if (vavp != NULL) {
1
0
0
0
git:master:cb8d366d: db_redis: log message if failure to get reply
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: cb8d366d6c5cc9a0af7159e8be65444ac23f47a1 URL:
https://github.com/kamailio/kamailio/commit/cb8d366d6c5cc9a0af7159e8be65444…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T09:19:58+01:00 db_redis: log message if failure to get reply --- Modified: src/modules/db_redis/redis_connection.c --- Diff:
https://github.com/kamailio/kamailio/commit/cb8d366d6c5cc9a0af7159e8be65444…
Patch:
https://github.com/kamailio/kamailio/commit/cb8d366d6c5cc9a0af7159e8be65444…
--- diff --git a/src/modules/db_redis/redis_connection.c b/src/modules/db_redis/redis_connection.c index e030472d9e..6743a97cf1 100644 --- a/src/modules/db_redis/redis_connection.c +++ b/src/modules/db_redis/redis_connection.c @@ -394,7 +394,9 @@ void db_redis_consume_replies(km_redis_con_t *con) { redis_key_t *query; while (con->append_counter > 0 && con->con && !con->con->err) { LM_DBG("consuming outstanding reply %u", con->append_counter); - db_redis_get_reply(con, (void**)&reply); + if(db_redis_get_reply(con, (void**)&reply) != REDIS_OK) { + LM_DBG("failure to get the reply\n"); + } if (reply) { freeReplyObject(reply); reply = NULL;
1
0
0
0
Still Failing: kamailio/kamailio#6667 (master - 78225d0)
by Travis CI
19 Nov '18
19 Nov '18
Build Update for kamailio/kamailio ------------------------------------- Build: #6667 Status: Still Failing Duration: 6 mins and 16 secs Commit: 78225d0 (master) Author: Daniel-Constantin Mierla Message: htable: use local variable for name in log message instead of null htable pointer View the changeset:
https://github.com/kamailio/kamailio/compare/f465d2410084...78225d064a76
View the full build log and details:
https://travis-ci.org/kamailio/kamailio/builds/456850836?utm_medium=notific…
-- You can unsubscribe from build emails from the kamailio/kamailio repository going to
https://travis-ci.org/account/preferences/unsubscribe?repository=3596148&ut…
. Or unsubscribe from *all* email updating your settings at
https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificati…
. Or configure specific recipients for build notifications in your .travis.yml file. See
https://docs.travis-ci.com/user/notifications
.
1
0
0
0
git:master:78225d06: htable: use local variable for name in log message instead of null htable pointer
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: 78225d064a76a5d5a3dbd198a4ae38f6423dd272 URL:
https://github.com/kamailio/kamailio/commit/78225d064a76a5d5a3dbd198a4ae38f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T09:10:46+01:00 htable: use local variable for name in log message instead of null htable pointer --- Modified: src/modules/htable/ht_dmq.c --- Diff:
https://github.com/kamailio/kamailio/commit/78225d064a76a5d5a3dbd198a4ae38f…
Patch:
https://github.com/kamailio/kamailio/commit/78225d064a76a5d5a3dbd198a4ae38f…
--- diff --git a/src/modules/htable/ht_dmq.c b/src/modules/htable/ht_dmq.c index 33dd72e8d4..d5ff1af645 100644 --- a/src/modules/htable/ht_dmq.c +++ b/src/modules/htable/ht_dmq.c @@ -576,11 +576,15 @@ int ht_dmq_handle_sync(srjson_doc_t* jdoc) { } ht = ht_get_table(&htname); - if(ht==NULL) - LM_WARN("unable to get table %.*s\n", ht->name.len, ht->name.s); + if(ht==NULL) { + LM_WARN("unable to get table %.*s\n", + htname.len, (htname.s)?htname.s:""); + } - if (ht_set_cell_ex(ht, &cname, type, &val, 0, expire - now) < 0) - LM_WARN("unable to set cell %.*s in table %.*s\n", cname.len, cname.s, ht->name.len, ht->name.s); + if (ht_set_cell_ex(ht, &cname, type, &val, 0, expire - now) < 0) { + LM_WARN("unable to set cell %.*s in table %.*s\n", + cname.len, cname.s, ht->name.len, ht->name.s); + } cell = cell->next; }
1
0
0
0
git:master:e0256096: htable: init vars in ht_dmq_handle_sync() to avoid compile warnings
by Daniel-Constantin Mierla
19 Nov '18
19 Nov '18
Module: kamailio Branch: master Commit: e0256096742a1f86e571949a5ffcf5e453401977 URL:
https://github.com/kamailio/kamailio/commit/e0256096742a1f86e571949a5ffcf5e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2018-11-19T09:07:33+01:00 htable: init vars in ht_dmq_handle_sync() to avoid compile warnings --- Modified: src/modules/htable/ht_dmq.c --- Diff:
https://github.com/kamailio/kamailio/commit/e0256096742a1f86e571949a5ffcf5e…
Patch:
https://github.com/kamailio/kamailio/commit/e0256096742a1f86e571949a5ffcf5e…
--- diff --git a/src/modules/htable/ht_dmq.c b/src/modules/htable/ht_dmq.c index f1fe069f17..33dd72e8d4 100644 --- a/src/modules/htable/ht_dmq.c +++ b/src/modules/htable/ht_dmq.c @@ -537,17 +537,16 @@ int ht_dmq_send_sync(dmq_node_t* node) { int ht_dmq_handle_sync(srjson_doc_t* jdoc) { LM_DBG("handling sync\n"); - srjson_t* cells; - srjson_t* cell; - srjson_t* it; - str htname; - str cname; - int type; - int_str val; - int expire; - ht_t* ht; - time_t now; - + srjson_t* cells = NULL; + srjson_t* cell = NULL; + srjson_t* it = NULL; + str htname = STR_NULL; + str cname = STR_NULL; + int type = 0; + int_str val = {0}; + int expire = 0; + ht_t* ht = NULL; + time_t now = 0; cells = jdoc->root->child; cell = cells->child;
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
30
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Results per page:
10
25
50
100
200