[asterisk-bugs] [DAHDI 0013039]: [patch] Fix segfaults in dahdi_cfg.c from error handling

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 9 14:22:04 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13039 
====================================================================== 
Reported By:                bbryant
Assigned To:                
====================================================================== 
Project:                    DAHDI
Issue ID:                   13039
Category:                   Utilities
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             07-09-2008 13:06 CDT
Last Modified:              07-09-2008 14:22 CDT
====================================================================== 
Summary:                    [patch] Fix segfaults in dahdi_cfg.c from error
handling
Description: 
This patch fixes a couple of places where error() is assumed to stop
execution. For example, it crashes if you don't have permission to read the
config file.
This also fixes a bug in configuration parsing where a syntax error isn't
detected for a keyword or value that only contains spaces.
====================================================================== 

---------------------------------------------------------------------- 
 bbryant - 07-09-08 14:22  
---------------------------------------------------------------------- 
I've uploaded a second patch which fixes a crash in fclose I couldn't
understand (just commented out the line), and an instance of strcpy that
wasn't safe. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-09-08 14:22  bbryant        Note Added: 0089965                          
======================================================================




More information about the asterisk-bugs mailing list