[asterisk-bugs] [JIRA] (ASTERISK-25390) default_from_user can crash with certain configuration backends

Mark Michelson (JIRA) noreply at issues.asterisk.org
Thu Sep 10 09:52:33 CDT 2015


Mark Michelson created ASTERISK-25390:
-----------------------------------------

             Summary: default_from_user can crash with certain configuration backends
                 Key: ASTERISK-25390
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25390
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
            Reporter: Mark Michelson


The recently-added default_from_user option was implemented in such a way that certain backend configuration storage methods (e.g. a database) resulted in a crash. This was because the global configuration structure is short-lived enough to result in referencing freed memory.

The retrieved default_from_user needs to be copied out of the global configuration structure so that a crash does not occur.



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



More information about the asterisk-bugs mailing list