Segfault when calling pjmedia_transport_srtp_create() with pjmedia_srtp_setting * set to NULL

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

 



Hi,

Ah, sorry for this silly mistake (of mine :( ), ticket #698
(http://trac.pjsip.org/repos/ticket/698) should fix this. Thanks for
the report.

Regards,
nanang


On Tue, Dec 2, 2008 at 10:25 PM, Ruud Klaver <ruud at ag-projects.com> wrote:
> Hi,
>
> According to the documentation it should be possible to call
> pjmedia_transport_srtp_create() with the "opt" argument set to NULL, it
> should just use the default SRTP settings. However, this pointer is
> referenced anyway in the code at line 386 (of transport_srtp.c):
>
> srtp->peer_use = opt->use;
>
> This should probably directly reference the default "use" parameter if opt
> == NULL.
>
> Ruud Klaver
> AG Projects
>
>
>
> _______________________________________________
> 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