[asterisk-bugs] [JIRA] (ASTERISK-23319) Segmentation fault in queue_exec at app_queue.c

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Mar 23 09:43:35 CDT 2015


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

Matt Jordan commented on ASTERISK-23319:
----------------------------------------

[~StefanEng86]: I think putting a {{qe.pr = NULL; }} would not be a bad idea. Since other locations check to see if that pointer is NULL before dereferencing it, setting it to NULL after being freed is probably appropriate.

If you'd like to provide that patch, that'd be great - you can find information on providing a patch back to the project at [https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Segmentation fault in queue_exec at app_queue.c
> -----------------------------------------------
>
>                 Key: ASTERISK-23319
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23319
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue
>    Affects Versions: 1.8.25.0
>         Environment: CentoOS 6.2
>            Reporter: Vadim
>            Assignee: Matt Jordan
>         Attachments: coredumpcrashqueuetimeronpatchedasterisk13.txt, irrelevantqueuepatch1.txt, queuepatch2.txt, trace.txt
>
>
> gdb /usr/sbin/asterisk /tmp/coreXX.XXX
> ....
> [Edit by Rusty Newton - removed inline debug as per the guidelines...]



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



More information about the asterisk-bugs mailing list