summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2010-06-18 21:32:09 +0000
committerJeff Peeler <jpeeler@digium.com>2010-06-18 21:32:09 +0000
commit54f2dfc91c9eedce4a6abb13126fc0b696a6d5ef (patch)
tree990dc23050e04eff9701bcb8bc3f0063c7a1c8c7 /include/asterisk
parent3f9c6bb3bc92bb4b670763fb789bf52abcf785a7 (diff)
Merged revisions 271399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r271399 | jpeeler | 2010-06-18 14:28:24 -0500 (Fri, 18 Jun 2010) | 11 lines Fix crash when parsing some heavily nested statements in AEL on reload. Due to the recursion used when compiling AEL in gen_prios, all the stack space was being consumed when parsing some AEL that contained nesting 13 levels deep. Changing a few large buffers to be heap allocated fixed the crash, although I did not test how many more levels can now be safely used. (closes issue #16053) Reported by: diLLec Tested by: jpeeler ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/pval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/pval.h b/include/asterisk/pval.h
index af9b79175..cd8c5d366 100644
--- a/include/asterisk/pval.h
+++ b/include/asterisk/pval.h
@@ -143,7 +143,7 @@ void destroy_extensions(struct ael_extension *exten);
static void gen_prios(struct ael_extension *exten, char *label, pval *statement, struct ael_extension *mother_exten, struct ast_context *context ); */
void set_priorities(struct ael_extension *exten);
void add_extensions(struct ael_extension *exten);
-void ast_compile_ael2(struct ast_context **local_contexts, struct ast_hashtab *local_table, struct pval *root);
+int ast_compile_ael2(struct ast_context **local_contexts, struct ast_hashtab *local_table, struct pval *root);
void destroy_pval(pval *item);
void destroy_pval_item(pval *item);
int is_float(char *arg );