[Home]

Summary:ASTERISK-09312: MAX_INCLUDE_LEVEL not checked properly
Reporter:Mostyn Bramley-Moore (mostyn)Labels:
Date Opened:2007-04-25 11:22:41Date Closed:2007-07-09 21:20:52
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If you have more than 9 #include commands that refer to files that don't exist, asterisk (tested 1.2.13 and 1.4.2) will complain:
WARNING[22306]: config.c:1259 in ast_config_internal_load: Maximum Include level (10) exceeded
And then give up on processing the file.  

If this indicates an error, I would expect the first 9 instances to print warning messages also.  

****** ADDITIONAL INFORMATION ******

Currently, if ast_config_internal_load can't load the file, it never decrements result->include_level
Comments:By: Joshua C. Colp (jcolp) 2007-04-25 20:29:22

Fixed in 1.2 as of revision 61958, 1.4 as of revision 61959, and trunk as of revision 61960.