2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
+ * apps/app_queue.c (rqm_exec): correct segfault problem (issue #5705)
+ (aqm_exec): ditto
+
* app.c (ast_app_parse_options): don't increment 's' until after checking for NULL (related to issue #5630)
* apps/app_rpt.c: solve a memory leak (config structure was not freed) (issue #5706
AST_STANDARD_APP_ARGS(args, parse);
if (ast_strlen_zero(args.interface)) {
- ast_copy_string(args.interface, chan->name, sizeof(args.interface));
+ args.interface = ast_strdupa(chan->name);
temppos = strrchr(args.interface, '-');
if (temppos)
*temppos = '\0';
AST_STANDARD_APP_ARGS(args, parse);
if (ast_strlen_zero(args.interface)) {
- ast_copy_string(args.interface, chan->name, sizeof(args.interface));
+ args.interface = ast_strdupa(chan->name);
temppos = strrchr(args.interface, '-');
if (temppos)
*temppos = '\0';