[Home]

Summary:ASTERISK-11445: invalid strcpy for conf2ael
Reporter:Clod Patry (junky)Labels:
Date Opened:2008-02-15 03:14:00.000-0600Date Closed:2008-02-15 07:34:05.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Utilities/aelparse
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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@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@rabbit:/usr/src/asterisk-trunk#
Comments:By: Eliel Sardanons (eliel) 2008-02-15 07:34:04.000-0600

Submitted twice (issue ASTERISK-11446)