[sr-dev] [tracker] Comment added: crash in parser/sdp/sdp_helpr_funcs.c (Attachment added)

sip-router bugtracker at sip-router.org
Sat May 31 04:13:16 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#435 - crash in parser/sdp/sdp_helpr_funcs.c
User who did this - Michael Ricordeau (mricordeau)

----------
I tried to reproduce the same INVITE with wrong codec and with same kamailio version and I'm getting an error, no crash :
ERROR: <core> [parser/sdp/sdp_helpr_funcs.c:246]: extract_rtpmap(): invalid encoding in `a=rtpmap'

I have attached the python script (basic socket ...) used to send the SIP INVITE from gdb trace .

The function is called here in kamailio cfg :

                if (client_nat_test("3")){
                        xlog("L_INFO", "CALL RE-INVITE/UPDATE Nat DETECTED $ci\n");
                        force_rport();
                        fix_contact();
                        # Change Media ip address to public IP
                        if(nat_uac_test("8") && search("Content-type: application/sdp")) {
                                xlog("L_INFO", ">>> RE-INVITE/UPDATE CALL fixing SDP- NAT \n");
                                fix_nated_sdp("2");
                        }
                }
----------

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=435#comment1492

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list