segfault stun_session.c

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

 



Hello,

When my Asterisk 13 application calls pj_ice_sess_on_rx_pkt (using pjnath 2.2) it seems to result in a segmentation fault in less than 1 of 10000 calls.

I took a look at the crashdump and the source code of stun_session.c where the segfault occurs. It seems the relevant code segments are similar in versions , 2.2-2.4 therefore I ask straight away rather than upgrading to latest pjnath and waiting for next crash (crashes occur less than every 2 weeks)

http://pastebin.com/DiVyUgTkhttp://pastebin.com/DiVyUgTk

I want to ask what is supposed to prevent t from being 0x0 in that function (before calling t->...)

I'm thinking of adding a 't &&' in those while and if conditions...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150420/e0577d0d/attachment.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