Ok ! I keep the patch running.
With the patch, the AOR is saved and the outbound routing works.
Thank you.
On Mon, Feb 23, 2015 at 4:25 PM, <sr-dev-request(a)lists.sip-router.org>
wrote:
Send sr-dev mailing list submissions to
sr-dev(a)lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
or, via email, send a message with subject or body 'help' to
sr-dev-request(a)lists.sip-router.org
You can reach the person managing the list at
sr-dev-owner(a)lists.sip-router.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-dev digest..."
Today's Topics:
1. git:master:91596953: sdpops: safety check when location a=
line not to exceed end of message (Daniel-Constantin Mierla)
2. Re: [kamailio] registrar - additional features (#91) (lazedo)
3. aastra outbound support (GG GG)
4. git:master:b9e5b918: kazoo - fix timeouts (Luis Azedo)
5. git:4.2:449ba0c0: kazoo - fix timeouts (Luis Azedo)
6. git:4.2:e24c9ff7: sdpops: safety check when location a= line
not to exceed end of message (Daniel-Constantin Mierla)
7. Issue after tcpops enhancement for lifetime per connection
(Daniel-Constantin Mierla)
8. Re: aastra outbound support (Daniel-Constantin Mierla)
9. Re: [kamailio] registrar - additional features (#91)
(Daniel-Constantin Mierla)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Feb 2015 14:31:19 +0100
From: Daniel-Constantin Mierla <miconda(a)gmail.com>
To: sr-dev(a)lists.sip-router.org
Subject: [sr-dev] git:master:91596953: sdpops: safety check when
location a= line not to exceed end of message
Message-ID: <E1YPt6V-0004Hd-UP(a)www.kamailio.org>
Module: kamailio
Branch: master
Commit: 91596953115fe1bbe5c6f0dd0dd6e8d99cdbd285
URL:
https://github.com/kamailio/kamailio/commit/91596953115fe1bbe5c6f0dd0dd6e8d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-02-23T14:29:46+01:00
sdpops: safety check when location a= line not to exceed end of message
---
Modified: modules/sdpops/sdpops_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/91596953115fe1bbe5c6f0dd0dd6e8d…
Patch:
https://github.com/kamailio/kamailio/commit/91596953115fe1bbe5c6f0dd0dd6e8d…
---
diff --git a/modules/sdpops/sdpops_mod.c b/modules/sdpops/sdpops_mod.c
index 3357bb2..2a4aa6b 100644
--- a/modules/sdpops/sdpops_mod.c
+++ b/modules/sdpops/sdpops_mod.c
@@ -159,12 +159,17 @@ static int mod_init(void)
int sdp_locate_line(sip_msg_t* msg, char *pos, str *aline)
{
char *p;
+ char *bend;
+
p = pos;
while(*p!='\n') p--;
aline->s = p + 1;
p = pos;
- while(*p!='\n') p++;
+ bend = msg->buf+msg->len;
+ while(*p!='\n' && p<bend) p++;
aline->len = p - aline->s + 1;
+ if(unlikely(p==bend)) aline->len--;
+
return 0;
}
------------------------------
Message: 2
Date: Mon, 23 Feb 2015 06:14:31 -0800
From: lazedo <notifications(a)github.com>
To: Kamailio Devel List <sr-dev(a)lists.sip-router.org>
Subject: Re: [sr-dev] [kamailio] registrar - additional features (#91)
Message-ID: <kamailio/kamailio/pull/91/c75547064(a)github.com>
Content-Type: text/plain; charset="utf-8"
@miconda can you check if this is acceptable ? thanks.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/91#issuecomment-75547064