[asterisk-bugs] [Asterisk 0012780]: [patch] logger.c may random crash asterisk on module unload for some OS

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 08:14:40 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12780 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12780
Category:                   PBX/pbx_config
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 119891 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-03-2008 08:13 CDT
Last Modified:              06-03-2008 08:14 CDT
====================================================================== 
Summary:                    [patch] logger.c may random crash asterisk on module
unload for some OS
Description: 

logmsg structure contain file and function pointer, which hold pointer to
file name and function name accordingly.
But memory, which these pointer refer, may be already freed and
inaccessible by logger thread - logger_thread(), if the module is already
unloaded at moment that logger thread call function to print this log
entry.

This mainly affected OS that use constructor/destructor.


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 08:14  ys             Summary                  logger.c may random
crash asterisk on module unload for some OS => [patch] logger.c may random crash
asterisk on module unload for some OS
======================================================================




More information about the asterisk-bugs mailing list