[asterisk-bugs] [JIRA] (ASTERISK-19143) Core dump when adding dialplan extension

cloos (JIRA) noreply at issues.asterisk.org
Tue Jul 29 12:38:56 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cloos updated ASTERISK-19143:
-----------------------------

    Attachment: 32s.patch

Limiting the accepted length of the arguments to the "%s" formats should prevent vsnprintf(3) from searching for the end of the strings, and therefor should prevent the SEGV.

This patch proposes a limit of thirty-two characters.


> Core dump when adding dialplan extension
> ----------------------------------------
>
>                 Key: ASTERISK-19143
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19143
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 1.8.7.2, 1.8.8.0
>         Environment: CentOS 5.5
>            Reporter: Steven T. Wheeler
>         Attachments: 32s.patch, backtrace-20120305-1136.txt, backtrace-20120305-1138.txt, backtrace.txt, full_debug.log, full.log
>
>
> asterisk -rx "dialplan add extension steventest2-swheeler,hint,SIP/steventest2-swheeler_softphone&Custom:unavailable into blf replace
> Executing this command will occasionally cause asterisk to segfault.  From what I can tell in the back trace the issue seems to be related to logging the message "Found duplicate exten. Had %s found %s".  Please see the attached back trace and debug logs for more information.



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



More information about the asterisk-bugs mailing list