(closes issue #17928)
Reported by: mdu113
Patches:
20100831__issue17928.diff.txt uploaded by tilghman (license 14)
Tested by: mdu113
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@287118
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
AST_LIST_TRAVERSE(&hints, hint, list) {
struct ast_state_cb *cblist;
- char buf[AST_MAX_EXTENSION];
- char *parse = buf;
+ char *parse = ast_strdupa(ast_get_extension_app(hint->exten));
char *cur;
int state;
- ast_copy_string(buf, ast_get_extension_app(hint->exten), sizeof(buf));
while ( (cur = strsep(&parse, "&")) ) {
if (!strcasecmp(cur, device))
break;