Bug in multipart_body_clone when receiving INVITE with multipart/mixed body

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

 



I just fixed this in https://trac.pjsip.org/repos/ticket/1742#comment:9.
Thanks!

Best regards,
 Benny


On Thu, Mar 13, 2014 at 2:43 AM, Nick Wilson <nwilson928 at gmail.com> wrote:

> Hi,
>
> I have an incoming INVITE being received which contains a multipart body,
> i.e. an SDP and another custom body. The rx_data is then being cloned using
> pjsip_rx_data_clone that calls down into multipart_clone_data.
>
> Within this function the pj_list_push_back encounters a problem using the
> dst multipart_data containing a list part_head.
>
> I believe it is a simple fix to initialize the dst->part_head list using
>
>     pj_list_init(&dst->part_head);
>
> Using version 2.1.0 of PJSip library, proposed patch attached for this
> one-liner.
>
> Nick
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140313/e9a29d41/attachment-0001.html>


[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