pjsip-apps: streamutil assertion

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

 



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);
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140213/233f8539/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