[asterisk-bugs] [Asterisk 0012001]: invalid strcpy for conf2ael

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 15 07:34:04 CST 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=12001 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12001
Category:                   Utilities/aelparse
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 103711 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-15-2008 03:14 CST
Last Modified:              02-15-2008 07:34 CST
====================================================================== 
Summary:                    invalid strcpy for conf2ael
Description: 
Probably due to a change from
 //extern char ast_config_AST_CONFIG_DIR[PATH_MAX]; 
to

const char *ast_config_AST_CONFIG_DIR = "/etc/asterisk";        /*
placeholder */


that line was causing a segfault, when running:
root at rabbit:/usr/src/asterisk-trunk# conf2ael
WARNING: This is an EXTREMELY preliminary version of a program
         that will someday hopefully do a thoughful and intelligent
         job of transforming your extensions.conf file into an
         extensions.ael file.
         This version has absolutely no intelligence, and pretty
         much just does a direct conversion
         The result will most likely need careful attention to
         finish the job!!!!!
 (You could use -d the use the extensions.conf in the current directory!)
Segmentation fault (core dumped)
root at rabbit:/usr/src/asterisk-trunk# 
====================================================================== 

---------------------------------------------------------------------- 
 eliel - 02-15-08 07:34  
---------------------------------------------------------------------- 
Submitted twice (issue http://bugs.digium.com/view.php?id=12002) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-08 07:34  eliel          Status                   new => closed       
02-15-08 07:34  eliel          Note Added: 0082304                          
======================================================================




More information about the asterisk-bugs mailing list