Bug in pjsip

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

 



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjmedia_session_enum_streams.patch
Type: application/octet-stream
Size: 474 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101104/bb27e890/attachment.patch>


[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