Index: pbx/pbx_dundi.c =================================================================== --- pbx/pbx_dundi.c (revision 84633) +++ pbx/pbx_dundi.c (working copy) @@ -578,11 +578,13 @@ } else { /* No answers... Find the fewest number of digits from the number for which we have no answer. */ - char tmp[AST_MAX_EXTENSION]; + char tmp[AST_MAX_EXTENSION + 1]; for (x=0;xlcontext, tmp, 1, NULL)) { /* Oops found something we can't match. If this is longer than the running hint, we have to consider it */