From 0a58b6f090e35416038b228aba00cad23499770d Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 10 Aug 2009 19:30:55 +0000 Subject: AST-2009-005 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@211569 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 8b903b0ba..47185db0a 100644 --- a/apps/app_waituntil.c +++ b/apps/app_waituntil.c @@ -59,7 +59,7 @@ static int waituntil_exec(struct ast_channel *chan, void *data) return 0; } - if (sscanf(data, "%ld%lf", &seconds, &fraction) == 0) { + if (sscanf(data, "%30ld%30lf", &seconds, &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