[OpenSIPS-Devel] [ opensips-Bugs-3526649 ] drouting: crash for routing through GWs with zero prefix

SourceForge.net noreply at sourceforge.net
Tue May 15 15:33:41 CEST 2012


Bugs item #3526649, was opened at 2012-05-14 10:18
Message generated for change (Comment added) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3526649&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
>Status: Closed
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: drouting: crash for routing through GWs with zero prefix

Initial Comment:
If a drouting module is performing routing through a GW configured with a zero length prefix, opensips will crash:
line 1422 in drouting.c will set val.s.len to -1 which will lead to a crash while creating the new AVP.

Regards,
Ovidiu Sas

----------------------------------------------------------------------

>Comment By: Ovidiu Sas (osas)
Date: 2012-05-15 06:33

Message:
Tested ok (no more crashes).

Thanks,
Ovidiu

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-05-15 04:32

Message:
Hi Ovidiu,

Thanks for report - the fix is on trunk and 1.8. Please confirm it and if
so, close the ticket.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3526649&group_id=232389



More information about the Devel mailing list