[asterisk-bugs] [JIRA] (ASTERISK-21466) [crash] "sip show peers" crashes Asterisk with ~3500 registered peers

Guillaume Knispel (JIRA) noreply at issues.asterisk.org
Wed Apr 17 05:30:01 CDT 2013


Guillaume Knispel created ASTERISK-21466:
--------------------------------------------

             Summary: [crash] "sip show peers" crashes Asterisk with ~3500 registered peers
                 Key: ASTERISK-21466
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21466
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 11.3.0
         Environment: Linux 32 bits
            Reporter: Guillaume Knispel
            Severity: Critical


When there are lots of registered sip peers (around 3500, but it could depend on the IP adresses), the "sip show peers" CLI command immediately crashes Asterisk by stack overflow. (Trying to get the same informations through AMI very probably leads to the same crash.)

This is caused by the use of ast_strdupa() in the main loop of _sip_show_peers()


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list