Hi Andrew,
Have just checked in the patch to the SVN trunk with ticket https://trac.pjsip.org/repos/ticket/2242.
Thank you for the patch.
BR,
nanang
On Tue, Sep 17, 2019 at 3:46 PM Андрей Черных <andrew.chernyh@xxxxxxxxx> wrote:
_______________________________________________Function pjsip_rx_data_clone has invalid dst->msg_info.msg_buf pointer.It points to dst->pkt_info.packet and ignores offset of src->msg_info.msg_buf from src->pkt_info.packet.Some modules (for example pjsua_lib) is using this method to notify account with incoming call and end-user application can see only part of invite in the end of message and some stuff in the beginning.I think, that validation of src->msg_info.msg_buf (that it points to dst->pkt_info.packet) is not required because msg_buf assignment is doing only in pjsip_tpmgr_receive_packet and inpjsip_rx_data_clone.Patch in attachement.
--Best regards,
Andrew A. Chernyh
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org