Index: pbx/pbx_config.c =================================================================== --- pbx/pbx_config.c (revision 283172) +++ pbx/pbx_config.c (working copy) @@ -1307,7 +1307,7 @@ s = ast_get_extension_app_data(p); if (s) { char *t; - tempdata = alloca(strlen(tempdata) * 2 + 1); + tempdata = alloca(strlen(s) * 2 + 1); for (t = tempdata; *s; s++, t++) { if (*s == '|')