[asterisk-bugs] [JIRA] (ASTERISK-25886) Not checking for NULL INTERNAL_OBJ object, Asterisk crashes

Nicolas Chapleau (JIRA) noreply at issues.asterisk.org
Thu Mar 31 14:28:56 CDT 2016


Nicolas Chapleau created ASTERISK-25886:
-------------------------------------------

             Summary: Not checking for NULL INTERNAL_OBJ object, Asterisk crashes
                 Key: ASTERISK-25886
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25886
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/General
    Affects Versions: 13.2.0
         Environment: Linux centOS 6.5
            Reporter: Nicolas Chapleau


Linux CentOS 6.5
sangoma A108DE PRI cards

Getting :
ERROR[30921][C-00004648]: atsobj2.c:116 INTERNAL_OBJ: user_data is NULL

>From looking at where INTERNAL_OBJ is called, I noticed that on line 339 of astobj2.c (Asterisk 13.2.0) that the obj object returned from INTERNAL_OBJ is not checked for NULL, but still used. This could be causing our crash. I also checked the latest build and this occurs on line 342 of astobj2.c 

Crashes at least once a week.



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



More information about the asterisk-bugs mailing list