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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 27 11:19:49 CDT 2011


The following issue has been UPDATED. 
====================================================================== 
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:                     ready for testing
Asterisk Version:           1.8.4 
JIRA:                       SWP-3513 
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-27 11:19 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-27 11:19 lmadsen        JIRA                      => SWP-3513        
======================================================================




More information about the asterisk-bugs mailing list