[OpenSIPS-Devel] [ opensips-Bugs-3589142 ] B2B: crash when request without from_tag or to header
SourceForge.net
noreply at sourceforge.net
Fri Nov 30 21:16:04 CET 2012
Bugs item #3589142, was opened at 2012-11-22 05:41
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3589142&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: trunk
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nick Altmann (nikbyte)
>Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: B2B: crash when request without from_tag or to header
Initial Comment:
Sometimes buggy UACs send in-b2b-dialog CANCEL without from_tag.
b2b_entities module crashes in dlg.c on line 645:
hash_index = core_hash(&callid, &from_tag, server_hsize);
because from_tag is empty.
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2012-11-30 12:16
Message:
Hi Nick,
Added the fix on SVN trunk, 1.8 and 1.7 .
Thanks for report,
Bogdan
----------------------------------------------------------------------
Comment By: Nick Altmann (nikbyte)
Date: 2012-11-25 23:22
Message:
I've tested it again. Any packet without from tag or without to header
crashes opensips!
Patch attached.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3589142&group_id=232389
More information about the Devel
mailing list