[asterisk-bugs] [Asterisk 0016040]: reference argument sub in handle_transfer_button after we check it

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 7 23:56:30 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16040 
====================================================================== 
Reported By:                ebroad
Assigned To:                mvanbaak
====================================================================== 
Project:                    Asterisk
Issue ID:                   16040
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-07 23:56 CDT
Last Modified:              2009-10-07 23:56 CDT
====================================================================== 
Summary:                    reference argument sub in handle_transfer_button
after we check it
Description: 
Currently, we reference sub before we check if it is null or not, this can
lead to a segfault if we attempt to transfer a non-existent channel.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-07 23:56 ebroad         New Issue                                    
2009-10-07 23:56 ebroad         Status                   new => assigned     
2009-10-07 23:56 ebroad         Assigned To               => mvanbaak        
2009-10-07 23:56 ebroad         Asterisk Version          => SVN             
2009-10-07 23:56 ebroad         Regression                => No              
2009-10-07 23:56 ebroad         SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
======================================================================




More information about the asterisk-bugs mailing list