From 5f4f6a16c6f8445c03929d005d1b54d7e33e2a0b Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 10 Aug 2009 21:28:06 +0000 Subject: Changes for 1.6.0.12 git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0.12@211672 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_waituntil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_waituntil.c') diff --git a/apps/app_waituntil.c b/apps/app_waituntil.c index 1334683ce..0a42057bb 100644 --- a/apps/app_waituntil.c +++ b/apps/app_waituntil.c @@ -58,7 +58,7 @@ static int waituntil_exec(struct ast_channel *chan, void *data) return 0; } - if (sscanf(data, "%ld%lf", (long *)&future.tv_sec, &fraction) == 0) { + if (sscanf(data, "%30ld%30lf", (long *)&future.tv_sec, &fraction) == 0) { ast_log(LOG_WARNING, "WaitUntil called with non-numeric argument\n"); pbx_builtin_setvar_helper(chan, "WAITUNTILSTATUS", "FAILURE"); return 0; -- cgit v1.2.3