[asterisk-bugs] [Asterisk 0019350]: [patch] Crash in chan_sip -- sip_setoption()

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 23 20:32:31 CDT 2011


The following issue has been set as RELATED TO issue 0018732. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19350 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19350
Category:                   Channels/chan_sip/General
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-23 17:00 CDT
Last Modified:              2011-05-23 20:32 CDT
====================================================================== 
Summary:                    [patch] Crash in chan_sip -- sip_setoption()
Description: 
If the sip private structure is null, sip_setoption() will defref the null
pointer and crash.

I don't know what the exact fix would be, but a stopgap would prevent a
crash here.

Possibly all the operations on sip private structures should check their
pointer first?
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018732 Segfault when transferring call
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-23 20:32 kobaz          Relationship added       related to 0018732  
======================================================================




More information about the asterisk-bugs mailing list