[asterisk-bugs] [JIRA] (ASTERISK-21229) crash in res_clialiases on reload

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Mar 8 12:42:02 CST 2013


Rusty Newton created ASTERISK-21229:
---------------------------------------

             Summary: crash in res_clialiases on reload
                 Key: ASTERISK-21229
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21229
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_clialiases
    Affects Versions: 11.2.1
            Reporter: Jaco Kroon
            Severity: Critical


Not sure what triggered it, but I got a backtrace that crashed in the hash function for res_clialises, after some static analysis of the code I found that the load_config() function doesn't verify the result of ast_cli_register - which in the case of error de-allocates (it re-allocates cli_entry->command) cli_entry->command and then sets it to NULL, which in turn is used in the hash function to compute the hash.

--
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