[OpenSIPS-Devel] [ opensips-Bugs-3589142 ] B2B: crash when request without from_tag or to header
SourceForge.net
noreply at sourceforge.net
Mon Nov 26 08:22:35 CET 2012
Bugs item #3589142, was opened at 2012-11-22 05:41
Message generated for change (Comment added) made by nikbyte
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nick Altmann (nikbyte)
Assigned to: Nobody/Anonymous (nobody)
>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: 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