pjsip-apps: streamutil assertion

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

 



Hi Wolfgang,

Just checked in the patch to SVN trunk (
https://trac.pjsip.org/repos/changeset/4788).

Thanks for the report and the patch.

BR,
nanang



On Thu, Feb 13, 2014 at 4:00 PM, Wolfgang Kampichler <
wolfgang.kampichler at gmail.com> wrote:

> When executing streamutil the following may happen:
>
> *streamutil: ../src/pjmedia/codec.c:53: pjmedia_codec_param_clone:
> Assertion `pool && src' failed.*
> *Aborted (core dumped)*
>
>
> An uninitialized (optional) data structure (pjmedia_codec_param) causes this issue in stream.c/pjmedia_codec_param_clone. This is solved by perfomring a NULL pointer check as below (diff.txt)
>
> 2005c2005,2008
> < stream->si.param = pjmedia_codec_param_clone(pool, info->param);
> ---
> >
> > if (info->param)	
> > stream->si.param = pjmedia_codec_param_clone(pool, info->param);
> >
>
>
> _______________________________________________
> 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/20140311/7759a5f5/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