[asterisk-bugs] [JIRA] (ASTERISK-24521) [patch] Segfault due to null pointer in ast_bridged_channel

Ben Smithurst (JIRA) noreply at issues.asterisk.org
Fri Nov 14 14:31:29 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223550#comment-223550 ] 

Ben Smithurst commented on ASTERISK-24521:
------------------------------------------

I've noticed this before the crashes happened,

{code}
[2014-11-12 15:22:51] WARNING[51912][C-00000505] channel.c: No path to translate from SIP/sip-in-f2.voip.thw.gradwell.net-00001134 to IAX2/aa.bb.cc.dd:4569-281
[2014-11-12 15:22:51] WARNING[51912][C-00000505] channel.c: Can't make SIP/sip-in-f2.voip.thw.gradwell.net-00001134 and IAX2/aa.bb.cc.dd:4569-281 compatible
[2014-11-12 15:22:51] WARNING[51912][C-00000505] features.c: Bridge failed on channels SIP/sip-in-f2.voip.thw.gradwell.net-00001134 and IAX2/aa.bb.cc.dd:4569-281
{code}

(customer IP address removed)

> [patch] Segfault due to null pointer in ast_bridged_channel
> -----------------------------------------------------------
>
>                 Key: ASTERISK-24521
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24521
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 11.8.1
>            Reporter: Ben Smithurst
>         Attachments: ast_bridged_channel.diff, backtrace.txt
>
>
> We have observed a crash in ast_bridged_channel due to a null pointer.  We do not know at present how to reproduce it, it is something we haven't really seen before but then saw several times in a single day.
> The cause appears to be a bridged channel existing without a 'tech' field, so the ast_bridged_channel function dereferences a null pointer, the fix is quite simple and seems to work for us, we've seen no further occurences of the crash.
> *Hopefully* I still have the backtrace/core file, but if not, as I say we don't know how to reproduce it, apologies.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list