PJSIP 1.8.5 multipart bodies - body len = 0 and crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
  I am testing PJSIP version 1.8.5 with multipart Sip Invite bodies. I noticed 
that after the incoming msg is parsed, that the body length is 0 but the data 
pointer is valid. When pjsip_msg_clone() is called, it crashes with a memory 
exception. The msg contains 2 bodies so pjsip_msg_body_copy() is called twice 
and multipart_clone_data() is called in between. The first pjsip_msg_body_copy() 
completes, but not the 2nd.

Why is the body len 0 ? Has anybody successfully cloned a multipart msg ?


      



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux