[asterisk-bugs] [DAHDI 0013039]: [patch] Fix segfaults in dahdi_cfg.c from error handling
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 1 16:18:10 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: 2008-07-09 13:06 CDT
Last Modified: 2008-08-01 16:18 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.
======================================================================
----------------------------------------------------------------------
(0091003) svnbot (reporter) - 2008-08-01 16:18
http://bugs.digium.com/view.php?id=13039#c91003
----------------------------------------------------------------------
Repository: dahdi
Revision: 4645
U tools/trunk/dahdi_cfg.c
------------------------------------------------------------------------
r4645 | kpfleming | 2008-08-01 16:18:09 -0500 (Fri, 01 Aug 2008) | 7 lines
clean up error exit conditions and improve code in various places
(closes issue http://bugs.digium.com/view.php?id=13039)
Reported by: bbryant
Patches:
20080709__dahdi_cfg_fixes_2.diff uploaded by bbryant (license 36)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=4645
Issue History
Date Modified Username Field Change
======================================================================
2008-08-01 16:18 svnbot Checkin
2008-08-01 16:18 svnbot Note Added: 0091003
======================================================================
More information about the asterisk-bugs
mailing list