Re: Possible bug in pjsua_core.c method pjsua_resolve_stun_servers

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

 



Hi Imad,

As the process continues asynchronously, the stun_resolve_dec_ref() pair will be invoked in the completion, e.g: stun_resolve_complete().

BR,
nanang


On Fri, Jul 13, 2018 at 3:19 AM, Imad Khazali via pjsip <pjsip@xxxxxxxxxxxxxxx> wrote:
Hi,

In the file pjsua_core.c method pjsua_resolve_stun_servers the method stun_resolve_add_ref is called at the beginning. But the check Below does not decrement the ref.Looks like a bug:

    if (!wait)
        return PJ_SUCCESS;


Thanks,
Imad

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
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