Bug in pjsip

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

 



Hi,

Fixed in the SVN trunk, see
https://trac.pjsip.org/repos/ticket/1151#comment:9. Thanks for the
report and the patch.

BR,
nanang


On Thu, Nov 4, 2010 at 6:29 PM, Rostyslav Drutsky
<r.drutsky at soft-industry.com> wrote:
> Hi All.
> We are using pjproject-1.8.5 and found that function pjmedia_session_enum_streams(const pjmedia_session *session, unsigned *count, pjmedia_stream_info info[]) in pjmedia/src/pjmedia/session.c have a bug.
>
> pj_memcpy(&info[i], &session->stream[i], sizeof(pjmedia_stream_info));
> ?must be changed to
> pj_memcpy(&info[i], &session->stream_info[i], sizeof(pjmedia_stream_info));
>
> Patch attached.
>
> With best regards,
> Rostyslav Drutsky
>
> _______________________________________________
> 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
>
>



[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