[asterisk-bugs] [Asterisk 0010651]: Segmentation fault when chan_phone is unloaded is some cases

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 5 09:58:26 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10651 
====================================================================== 
Reported By:                rbraun_proformatique
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10651
Category:                   Channels/chan_phone
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-05-2007 05:00 CDT
Last Modified:              09-05-2007 09:58 CDT
====================================================================== 
Summary:                    Segmentation fault when chan_phone is unloaded is
some cases
Description: 
If chan_phone doesn't register its channel type, it still tries to
unregister it when it is unloaded. This patch checks if the channel type
has been registered before attempting the unregistration.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 09-05-07 09:58  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 81524

------------------------------------------------------------------------
r81524 | qwell | 2007-09-05 09:58:25 -0500 (Wed, 05 Sep 2007) | 14 lines

Merged revisions 81523 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue http://bugs.digium.com/view.php?id=10651)
........
r81523 | qwell | 2007-09-05 10:14:30 -0500 (Wed, 05 Sep 2007) | 5 lines

Do not try to unregister a NULL channel tech.
Also changed load_module function to use defines rather than numbers for
return values.

Issue 10651, patch by rbraun_proformatique, with additions by me.

........

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-05-07 09:58  svnbot         Checkin                                      
09-05-07 09:58  svnbot         Note Added: 0069977                          
09-05-07 09:58  svnbot         Status                   new => assigned     
09-05-07 09:58  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list