[asterisk-bugs] [Asterisk 0012002]: [patch] invalid strcpy for conf2ael

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 15 08:01:09 CST 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12002 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12002
Category:                   Utilities/aelparse
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             02-15-2008 03:14 CST
Last Modified:              02-15-2008 08:01 CST
====================================================================== 
Summary:                    [patch] 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# 
====================================================================== 

---------------------------------------------------------------------- 
 junky - 02-15-08 08:01  
---------------------------------------------------------------------- 
will be better with the patch.
 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-15-08 08:01  junky          Note Added: 0082306                          
02-15-08 08:01  junky          Summary                  invalid strcpy for
conf2ael => [patch] invalid strcpy for conf2ael
======================================================================




More information about the asterisk-bugs mailing list