Posted: Wed Mar 26, 2003 5:27 pm Post subject: [Asterisk-Dev] app_directory crash because of ast_variable_b
Hi
If I put a non valid context in the app_directory value
es:
exten => 2503,1,Directory(NotWorking)
and I try to use the directory, asterisk Crash!!!
the problem is in the following function
v = ast_variable_browse(cfg, context);
in
static int do_directory(struct ast_channel *chan, struct ast_config
*cfg, char *context, char digit)
in app_directory.c
It looks like ast_variable_browse() doesn't handle the case of a
context not available.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum