Summary: | ASTERISK-10241: Segmentation fault when chan_phone is unloaded is some cases | ||
Reporter: | Richard Braun (rbraun_proformatique) | Labels: | |
Date Opened: | 2007-09-05 05:00:38 | Date Closed: | 2007-09-05 09:58:26 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_phone |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk_chan_phone_unregister_fix.diff | |
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. | ||
Comments: | By: Digium Subversion (svnbot) 2007-09-05 09:58:25 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 ASTERISK-10241) ........ 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. ........ ------------------------------------------------------------------------ |